mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-05 11:19:29 +00:00
Commit 5a66c667ff5cae61c2ad2e646c8eb3eedc67f925 fixed a NULL dereference if the disk driver element was empty. Add a test for this case.
11 lines
212 B
XML
11 lines
212 B
XML
<domainsnapshot>
|
|
<name>asdf</name>
|
|
<description>adsf</description>
|
|
<disks>
|
|
<disk name='vda' snapshot='external'>
|
|
<source file='/tmp/foo'/>
|
|
<driver/>
|
|
</disk>
|
|
</disks>
|
|
</domainsnapshot>
|