]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Check return value of vboxDumpVideo
authorJán Tomko <jtomko@redhat.com>
Fri, 5 Feb 2016 13:05:07 +0000 (14:05 +0100)
committerJán Tomko <jtomko@redhat.com>
Tue, 9 Feb 2016 09:06:58 +0000 (10:06 +0100)
commit2ea694053fdc18b6d48aa03cd4fd7de2b2d5f79a
treecc55414e2fbbf50b82e3840917402f3d9967f5e7
parente11aa74933038d742d80ad80d209cb0c031a5ca3
Check return value of vboxDumpVideo

Error out on allocation failures instead of creating an incomplete
definition.

Fixes a possible crash when def->nvideos is 1, but def->videos is NULL.
src/vbox/vbox_common.c