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
[email protected]
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to