mirror of
https://github.com/libexpat/libexpat.git
synced 2025-04-05 05:05:00 +00:00
Detection of recursive entity references are currently failing because we process and close entities before their inner references are processed. Since the detection works by checking wheter the referenced entity is already open, this early close leads to wrong results. This commit delays closing entities until their inner entities are processed and closed. This is achieved by postponing the unsetting of the open flag and using a new hasMore flag to check if the entity has more elements to process. |
||
---|---|---|
.. | ||
.gitignore | ||
ascii.h | ||
asciitab.h | ||
expat.h | ||
expat_external.h | ||
iasciitab.h | ||
internal.h | ||
latin1tab.h | ||
libexpat.def.cmake | ||
Makefile.am | ||
nametab.h | ||
siphash.h | ||
utf8tab.h | ||
winconfig.h | ||
xmlparse.c | ||
xmlrole.c | ||
xmlrole.h | ||
xmltok.c | ||
xmltok.h | ||
xmltok_impl.c | ||
xmltok_impl.h | ||
xmltok_ns.c |