Re: [libvirt] [PATCH v2] test driver: don't unlock pool after freeing it

2015-09-17 Thread David Mansfield
On 09/17/2015 01:58 AM, Peter Krempa wrote: On Wed, Sep 16, 2015 at 17:14:28 -0400, David Mansfield wrote: The attached patch (taken from my modified Fedora 22 source rpm, 1.2.13.1-2.fc22, sorry), fixes a case where, in the test driver, memory is accessed after it's freed. Patch appli

[libvirt] [PATCH] test driver: don't unlock pool after freeing it

2015-09-16 Thread David Mansfield
grind. The function testStoragePoolUndefine() calls virStoragePoolObjRemove() (which seems to free the memory for that pool structure) and then in the cleanup stanza calls virStoragePoolObjUnlock() which tampers with the freed structure. -- Thanks, David Mansfield From: David Mansfield Date