[libvirt] [PATCH v1] xenParseXLDiskSrc: protect against a NULL pointer reference

Wim Ten Have wim.ten.have at oracle.com
Fri May 19 12:38:44 UTC 2017


From: Wim ten Have <wim.ten.have at oracle.com>

This patch protects against a NULL pointer dereference leading to a
SEGV and that way taking out libvirtd while performing domain conversion
requests per domxml-from-native xen-xl xl.cfg within xenParseXLDiskSrc()
when partial disk parameters are provided.

Wim ten Have (1):
  xenParseXLDiskSrc: protect against a NULL pointer reference

 src/xenconfig/xen_xl.c                                    | 3 ++-
 tests/xlconfigdata/test-disk-positional-parms-partial.cfg | 2 +-
 tests/xlconfigdata/test-disk-positional-parms-partial.xml | 6 ++++++
 3 files changed, 9 insertions(+), 2 deletions(-)

-- 
2.9.4




More information about the libvir-list mailing list