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

2019-12-22 Thread Cole Robinson
On 12/20/19 7:33 PM, Yi Li wrote: > Causing a crash when storagePoolLookupByTargetPath beacuse of > Some types of storage pool have no target elements. > Use STREQ_NULLABLE instead of STREQ > Avoids segfaults when using NULL arguments. > > Core was generated by `/usr/sbin/libvirtd'. > Program

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

2019-12-20 Thread Yi Li
Causing a crash when storagePoolLookupByTargetPath beacuse of Some types of storage pool have no target elements. Use STREQ_NULLABLE instead of STREQ Avoids segfaults when using NULL arguments. Core was generated by `/usr/sbin/libvirtd'. Program terminated with signal 11, Segmentation fault.