mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2024-10-26 20:25:14 +03:00
1abf2967f9
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>
|