Re: [PATCH 1/5] Fix potential crash in libvirtd with active streams

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

 



On 07/08/2011 05:57 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
> 
> If a client disconnects while it has a stream active, there is
> a race condition which could see libvirtd crash. This is because
> the client struct may be freed before the last stream event has
> triggered. THis is trivially solved by holding an extra reference

s/THis/This/

> on the client for the stream callbak
> 
> * daemon/stream.c: Acquire reference on client when adding the
>   stream callback
> ---
>  daemon/stream.c |   13 ++++++++++++-
>  1 files changed, 12 insertions(+), 1 deletions(-)
> 

ACK.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]