]> xenbits.xensource.com Git - libvirt.git/commit
conf: Need to check for glisten before accessing
authorJohn Ferlan <jferlan@redhat.com>
Mon, 18 Jul 2016 18:30:59 +0000 (14:30 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Tue, 19 Jul 2016 11:51:10 +0000 (07:51 -0400)
commit7ca6cd7def2fbbd4308842cf4222fde7891d2987
tree7f2d465cc4a8510b60078b0c39437dc2fed2d571
parent5ddaa7ef2d8fd78b95f4d6595f972c6462eaafd3
conf: Need to check for glisten before accessing

When formatting the graphics data for TYPE_SPICE, check if the glisten
is NULL before blindly referencing

Found by Coverity

Signed-off-by: John Ferlan <jferlan@redhat.com>
src/conf/domain_conf.c