]> xenbits.xensource.com Git - libvirt.git/commit
vbox: Fix possible NULL deref
authorJohn Ferlan <jferlan@redhat.com>
Sun, 3 Nov 2019 12:05:15 +0000 (07:05 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 6 Nov 2019 16:27:12 +0000 (11:27 -0500)
commit18a1ce77b60cef9084c3bee01b2abb24f1c14586
tree5e2c23467b8e433de95a2befb5e5e38a82e681a7
parentf5420e60f2b4fa61b7ac57204868ec8ab7f6afef
vbox: Fix possible NULL deref

The @valueTypeUtf8 references need to use the STREQ_NULLABLE since
they're variantly filled in by @valueTypeUtf16.

Found by Coverity.

Signed-off-by: John Ferlan <jferlan@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
src/vbox/vbox_common.c