]> git.ipfire.org Git - thirdparty/libvirt.git/commit
xend_internal: don't let invalid input provoke NULL dereference
authorJim Meyering <meyering@redhat.com>
Wed, 6 Jan 2010 11:59:21 +0000 (12:59 +0100)
committerJim Meyering <meyering@redhat.com>
Wed, 6 Jan 2010 20:52:25 +0000 (21:52 +0100)
commit7679f064bfd1e0de27a28c809294c41fef36610a
treed048eb2e7e5d54d173f934f3953f41b428518a9e
parent7a90f21655aedc35cf711264498ebb4a1b783c8a
xend_internal: don't let invalid input provoke NULL dereference

* src/xen/xend_internal.c (xenDaemonOpen_unix): Do not dereference
a NULL "conn".  Move first deref to follow the "conn == NULL" test.
src/xen/xend_internal.c