]> git.ipfire.org Git - thirdparty/libvirt.git/commit
vbox: Address false positive for NULL dereference
authorJohn Ferlan <jferlan@redhat.com>
Thu, 24 Jan 2013 00:34:47 +0000 (19:34 -0500)
committerEric Blake <eblake@redhat.com>
Fri, 25 Jan 2013 22:52:08 +0000 (15:52 -0700)
commit4f01d3d53b71774ae11b512f1f3ca8ec8dc28aed
treed50cef824a54e3bdeccab6be04deeac1dacb9f1b
parent2cebf8486750a9d42a9a46b84aad9cdeb736d9cf
vbox: Address false positive for NULL dereference

Resolve a false positive from 'vboxIIDFromUUID_v2_x()'. The code sets
'iid->value = &iid->backing' unconditionally prior to calling 'nsIDFromChar()'.
The 'vboxIIDUnalloc_v2_x()' checks iid->value to not be &iid->backing. The
iid->backing is a static buffer within the initialized structure.
src/vbox/vbox_tmpl.c