]> xenbits.xensource.com Git - libvirt.git/commit
Avoid calling virStorageFileIsSharedFS with NULL
authorLaine Stump <laine@redhat.com>
Tue, 29 Jun 2010 03:50:15 +0000 (23:50 -0400)
committerLaine Stump <laine@redhat.com>
Tue, 29 Jun 2010 03:52:04 +0000 (23:52 -0400)
commit11a706025054fa29837dcb0e6308fd947b275558
treeaa653a14c08411e46b63b172ce77f812eab95c71
parent1c46f4cc034e6c09cca50b24d1a50bdbd1acd3cb
Avoid calling virStorageFileIsSharedFS with NULL

This code was just recently added (by me) and didn't account for the
fact that stdin_path is sometimes NULL. If it's NULL, and
SetSecurityAllLabel fails, a segfault would result.
src/qemu/qemu_driver.c