Re: [libvirt] [PATCH] storage: Fix daemon crash on lookup storagepool by targetpath

2019-12-20 Thread Cole Robinson
On 12/20/19 8:37 AM, Yi Li wrote: > Causing a crash when storagePoolLookupByTargetPath because of > Some types of storage pool have no target elements. > > Core was generated by `/usr/sbin/libvirtd'. > Program terminated with signal 11, Segmentation fault. > (gdb) bt > 0 0x9e951388 in

[libvirt] [PATCH] storage: Fix daemon crash on lookup storagepool by targetpath

2019-12-20 Thread Yi Li
Causing a crash when storagePoolLookupByTargetPath because of Some types of storage pool have no target elements. Core was generated by `/usr/sbin/libvirtd'. Program terminated with signal 11, Segmentation fault. (gdb) bt 0 0x9e951388 in strcmp () from /lib64/libc.so.6 1