Commit ff7486f2 authored by Michael R Sweet's avatar Michael R Sweet

mxmlLoad* and mxmlSAXLoad* did not properly create text nodes when

MXML_TEXT_CALLBACK was specified (Bug #531)
parent 724d10e9
......@@ -5,6 +5,8 @@ CHANGES IN Mini-XML 2.10
- The version number in mxml.h was wrong (Bug #532)
- The mxml.spec file was out of date (Bug #521)
- mxmlLoad* and mxmlSAXLoad* did not properly create text nodes when
MXML_TEXT_CALLBACK was specified (Bug #531)
- mxmlDelete used a recursive algorithm which could require large
amounts of stack space depending on the file (Bug #549, CVE-2016-4570)
- mxmlWrite* used a recursive algorithm which could require large
......
......@@ -1998,6 +1998,8 @@ mxml_load_data(
if (cb && parent)
type = (*cb)(parent);
else
type = MXML_TEXT;
}
else if (sax_cb)
{
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment