[libvirt] [PATCH 0/5] Use-after-free fix and cleanups

Michal Privoznik mprivozn at redhat.com
Mon Apr 10 12:52:10 UTC 2017


On 04/03/2017 10:24 AM, Marc Hartmayer wrote:
> While looking at a use-after-free situation going through how the QEMU
> monitor is set up I noticed some things. These cleanups and the fix
> for the use-after-free are the result of that.
>
> Marc Hartmayer (5):
>   qemu: Fix two use-after-free situations
>   qemu: Turn qemuDomainLogContext into virObject
>   qemu: Implement qemuMonitorRegister()
>   qemu: remove ATTRIBUTE_UNUSED in qemuProcessHandleMonitorEOF
>   refactoring: Use the return value of virObjectRef directly
>
>  src/datatypes.c              |  6 ++--
>  src/qemu/qemu_domain.c       | 72 ++++++++++++++++++++------------------
>  src/qemu/qemu_domain.h       |  2 --
>  src/qemu/qemu_monitor.c      | 82 ++++++++++++++++++++++++++++++++++----------
>  src/qemu/qemu_monitor.h      |  6 ++++
>  src/qemu/qemu_process.c      | 12 +++----
>  src/rpc/virnetclientstream.c |  4 +--
>  src/rpc/virnetserver.c       |  9 ++---
>  tests/qemumonitortestutils.c |  3 +-
>  9 files changed, 121 insertions(+), 75 deletions(-)
>

ACKed and pushed. Thanks.

Michal




More information about the libvir-list mailing list