[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 02:39 PM, Eric Blake wrote:
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.


Pushed. Thanks!


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