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

Eric Blake eblake at redhat.com
Thu Dec 8 19:39:01 UTC 2011

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.


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20111208/a705f315/attachment-0001.sig>

More information about the libvir-list mailing list