[PATCH 0/2] qemu: Limit backing chain to max 200 layers (blockdev-add saga)

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

 



More than 256 deep element tree break with our XML parser. Backing
chains are one of the simple ways to get there. Forbid them. Note that
the practical limit/sane approach is way less than 200.

Peter Krempa (2):
  qemu: domain: Refactor cleanup in qemuDomainDetermineDiskChain
  qemu: Prevent storage causing too much nested XML

 src/qemu/qemu_domain.c | 91 +++++++++++++++++++++++++++++++-----------
 src/qemu/qemu_domain.h |  4 ++
 src/qemu/qemu_driver.c |  6 +++
 3 files changed, 78 insertions(+), 23 deletions(-)

-- 
2.21.0

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

  Powered by Linux