[libvirt] [PATCH] Exercise the ABI stability check code in test suite
Eric Blake
eblake at redhat.com
Fri Jan 10 17:58:11 UTC 2014
On 01/10/2014 10:41 AM, Daniel P. Berrange wrote:
> Any test suite which involves a virDomainDefPtr should
> call virDomainDefCheckABIStability with itself just as
> a basic sanity check that the identity-comparison always
> succeeds. This would have caught the recent NULL pointer
> access crash.
>
> Make sure we cope with def->name being NULL since the
> VMWare config parser produces NULL names.
>
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---
ACK. Good for 1.2.1
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140110/9af8ea0a/attachment-0001.sig>
More information about the libvir-list
mailing list