[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH] test: fix potential lock corruption in test driver



On 12/08/2011 12:31 PM, Laine Stump wrote:
> From: Laine Stump <laine 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.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]