]> git.ipfire.org Git - thirdparty/libvirt.git/commit
lib: Don't access configuration if none is present
authorPeter Krempa <pkrempa@redhat.com>
Thu, 15 Mar 2012 16:10:22 +0000 (17:10 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 15 Mar 2012 16:41:36 +0000 (17:41 +0100)
commit59d0c9801c1ab536c3dd0502351829bd6a9bd80f
treec52b32a86d3350f88c2e31f2ad4d0f6792ffe7e2
parent362c3b33e6f68bd0823c811767ed2c63bb1334c9
lib: Don't access configuration if none is present

Commit e457d5ef2015e6106094b85f8bbd1582002edc4d adds ability to pass the
default URI using the client configuration file. If the file is not
present, it still accesses the NULL config object causing a segfault.

Caught running "make check".
src/libvirt.c