From: Wim ten Have <[email protected]>

It is possible to crash libvirtd when converting xl native config to
domXML when the xl config contains an empty disk source, e.g. an empty
CDROM. Fix by checking that the disk source is non-NULL before parsing it.

Wim ten Have (1):
  xenconfig: fix handling of NULL disk source

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

-- 
2.9.4

--
libvir-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to