[libvirt] [PATCH] test: fix potential lock corruption in test driver
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...
Size: 620 bytes
Desc: OpenPGP digital signature
More information about the libvir-list