[libvirt] [PATCH] test: fix potential lock corruption in test driver
Laine Stump
laine at laine.org
Sat Dec 10 04:51:41 UTC 2011
On 12/08/2011 02:39 PM, Eric Blake wrote:
> On 12/08/2011 12:31 PM, Laine Stump wrote:
>> From: Laine Stump<laine at redhat.com>
>>
>> In some error situations, the function testDomainRestoreFlags() could
>> unlock the test driver mutex without first locking it. This patch
>> moves the lock operation earlier, so that it occurs before any
>> potential jump down to the unlock call.
> ACK.
>
Pushed. Thanks!
More information about the libvir-list
mailing list