mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2026-01-26 21:41:34 +03:00
When creating XML_XINCLUDE_START nodes, the children of the original xi:include node must be freed, otherwise fallback content is copied twice, doubling runtime and memory consumption for each nested xi:fallback/xi:include pair. Found with libFuzzer.
52 lines
1007 B
XML
52 lines
1007 B
XML
<?xml version="1.0"?>
|
|
<a>
|
|
|
|
<elem/>
|
|
|
|
<elem/>
|
|
|
|
<elem/>
|
|
|
|
<elem/>
|
|
|
|
<elem/>
|
|
|
|
<elem/>
|
|
|
|
<elem/>
|
|
|
|
<elem/>
|
|
|
|
<elem/>
|
|
|
|
<elem/>
|
|
|
|
<elem/>
|
|
|
|
<elem/>
|
|
|
|
<elem/>
|
|
|
|
<elem/>
|
|
|
|
<elem/>
|
|
|
|
<elem/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</a>
|