Re: [libvirt] [PATCH 5/6] storage: gluster: Fix crash when initialization of storage backend fails

2014-03-31 Thread Peter Krempa
On 03/28/14 23:08, Eric Blake wrote: > On 03/28/2014 04:01 PM, Peter Krempa wrote: >> The libgfapi function glfs_fini doesn't tolerate NULL pointers. Add a >> check on the error paths as it's possible to crash libvirtd if the >> gluster volume can't be initialized. >> --- >> src/storage/storage_ba

Re: [libvirt] [PATCH 5/6] storage: gluster: Fix crash when initialization of storage backend fails

2014-03-28 Thread Eric Blake
On 03/28/2014 04:01 PM, Peter Krempa wrote: > The libgfapi function glfs_fini doesn't tolerate NULL pointers. Add a > check on the error paths as it's possible to crash libvirtd if the > gluster volume can't be initialized. > --- > src/storage/storage_backend_gluster.c | 6 -- > 1 file changed

[libvirt] [PATCH 5/6] storage: gluster: Fix crash when initialization of storage backend fails

2014-03-28 Thread Peter Krempa
The libgfapi function glfs_fini doesn't tolerate NULL pointers. Add a check on the error paths as it's possible to crash libvirtd if the gluster volume can't be initialized. --- src/storage/storage_backend_gluster.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/stor