mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2024-10-26 20:25:14 +03:00
41afa89fc9
Commit 7618a3b1
didn't account for coalesced text nodes.
I think it would be better if xmlStaticCopyNode didn't try to coalesce
text nodes at all. This code path can only be triggered if some other
code doesn't coalesce text nodes properly. In this case, OSS-Fuzz found
such behavior in xinclude.c.
11 lines
226 B
XML
11 lines
226 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<test xmlns:xi="http://www.w3.org/2001/XInclude">
|
|
<t1 xmlns:xi="http://www.w3.org/2001/XInclude" xml:base="../ents/coalesce1.xml">
|
|
start
|
|
|
|
start
|
|
|
|
end
|
|
</t1>
|
|
</test>
|