Re: [libvirt] [PATCH] storage_driver: Don't crash in storagePoolCreateXML

2019-08-23 Thread Martin Kletzander
On Fri, Aug 23, 2019 at 03:24:43PM +0200, Michal Privoznik wrote: In my recent patches I've introduced virStoragePoolObjIsStarting() which is then used to protect storage pool definition when the pool object is locked and unlocked during long running jobs. Well, my patches did not anticipate

[libvirt] [PATCH] storage_driver: Don't crash in storagePoolCreateXML

2019-08-23 Thread Michal Privoznik
In my recent patches I've introduced virStoragePoolObjIsStarting() which is then used to protect storage pool definition when the pool object is locked and unlocked during long running jobs. Well, my patches did not anticipate that @obj can be NULL under 'cleanup' label in storagePoolCreateXML()