[libvirt] [PATCH] domain_conf: fix crash in virDomainObjListFindByUUIDInternal

Peter Krempa pkrempa at redhat.com
Wed Mar 11 07:20:44 UTC 2015


On Wed, Mar 11, 2015 at 13:19:54 +1100, Michael Chapman wrote:
> If a domain object is being removed and looked up concurrently we must
> ensure we unlock the object before unreferencing it, since the latter
> might free the object.

It should be noted that the flaw was introduced in commit
feb1a4d792e1c35b1009e69c00bf351b39fe666b.

I'll ammend the commit message.

> 
> Signed-off-by: Michael Chapman <mike at very.puzzling.org>
> ---
>  src/conf/domain_conf.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

ACK, I'll push this patch shortly.

Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20150311/c4fd06da/attachment-0001.sig>


More information about the libvir-list mailing list