[PATCH 00/17] Many OOM fixes

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

 



From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>

This series fixes a large number of problems in OOM codepaths. These
are primarily memory leaks, but there's one crash in Xen parsing code
and a few places which silently ignore failure leading to corrupt
or malformed output.

Daniel P. Berrange (17):
  Fix leak in virDomainVcpuPinDefArrayFree
  Avoid leak if virDomainSoundCodecDefParseXML return error
  Fix leak in virDomainVcpuPinDefParseXML parsing cpumask
  Fix leak in virDomainDefParseXML parsing vcpupin
  Fix leak of address string in qemuDomainPCIAddressGetNextSlot
  Avoid leak in qemuParseRBDString on failure of qemuAddRBDHost
  Fix failure to honour OOM status in qemuParseNBDString
  Fix leak on OOM in qemuBuildCommandLine dealing with sound card
  Fix leak in qemuParseCommandLineDisk on OOM
  Fix missing jump to error cleanup in qemuParseCommandLineDisk
  Fix leak in qemuStringToArgvEnv upon OOM
  Fix leak in qemuParseCommandLine on OOM
  Fix leak of command line args in qemuParseCommandLine
  Fix leak of char device in xenParseXM
  Fix crash on OOM in xenParseXM handling consoles
  Fix broken formatting on OOM in xenFormatXM
  Fix leak of serial value in xenFormatXM on OOM

 src/conf/domain_conf.c  | 16 +++++++++-----
 src/qemu/qemu_command.c | 56 ++++++++++++++++++++++++++++---------------------
 src/qemu/qemu_conf.c    | 18 ++++++++++++++++
 src/qemu/qemu_conf.h    |  2 ++
 src/qemu/qemu_domain.c  | 15 +------------
 src/xenxs/xen_xm.c      | 12 +++++++----
 6 files changed, 72 insertions(+), 47 deletions(-)

-- 
1.8.3.1

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