Re: [PATCH] stream: avoid use-after-free

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

 



2011/5/13 Eric Blake <eblake@xxxxxxxxxx>:
> virFDStreamClose used a mutex after it was freed, and failed
> to destroy that mutex on its last use.
>
> * src/fdstream.c (virFDStreamFree): Inline into sole caller...
> (virFDStreamClose): ...to avoid use-after-free and leak.
> Reported by Matthias Bolte.
> ---
> Âsrc/fdstream.c | Â 34 ++++++++++++++--------------------
> Â1 files changed, 14 insertions(+), 20 deletions(-)
>

ACK.

Matthias

--
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]