Re: [libvirt] [PATCH] lib: Don't access configuration if none is present

2012-03-15 Thread Peter Krempa
On 03/15/2012 05:37 PM, Daniel P. Berrange wrote: On Thu, Mar 15, 2012 at 05:22:28PM +0100, Peter Krempa wrote: 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

Re: [libvirt] [PATCH] lib: Don't access configuration if none is present

2012-03-15 Thread Daniel P. Berrange
On Thu, Mar 15, 2012 at 05:22:28PM +0100, Peter Krempa wrote: > 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

[libvirt] [PATCH] lib: Don't access configuration if none is present

2012-03-15 Thread Peter Krempa
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 |3 ++- 1 files changed, 2 insertio