mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-22 23:27:30 +09:00
Issue #2010 - Ensure raw tagnames are safe exiting internalEntityParser
This resolves #2010
This commit is contained in:
parent
52a48df032
commit
b06fd11d6f
1 changed files with 12 additions and 2 deletions
|
|
@ -4999,8 +4999,18 @@ internalEntityProcessor(XML_Parser parser,
|
||||||
{
|
{
|
||||||
processor = contentProcessor;
|
processor = contentProcessor;
|
||||||
/* see externalEntityContentProcessor vs contentProcessor */
|
/* see externalEntityContentProcessor vs contentProcessor */
|
||||||
return doContent(parser, parentParser ? 1 : 0, encoding, s, end,
|
result = doContent(parser,
|
||||||
nextPtr, (XML_Bool)!ps_finalBuffer);
|
parentParser ? 1 : 0,
|
||||||
|
encoding,
|
||||||
|
s,
|
||||||
|
end,
|
||||||
|
nextPtr,
|
||||||
|
(XML_Bool)!ps_finalBuffer);
|
||||||
|
if (result == XML_ERROR_NONE) {
|
||||||
|
if (!storeRawNames(parser))
|
||||||
|
return XML_ERROR_NO_MEMORY;
|
||||||
|
}
|
||||||
|
return result;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue