1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-21 14:53:44 +03:00

parser: Rework entity boundary check for element content

Only use depth of input stack. This makes the input ID unused
internally.
This commit is contained in:
Nick Wellnhofer
2025-05-21 20:21:32 +02:00
parent 74ea6b483c
commit 4dc44c83ab
2 changed files with 74 additions and 43 deletions

View File

@@ -125,7 +125,7 @@ struct _xmlParserInput {
const xmlChar *version XML_DEPRECATED_MEMBER;
/* Flags */
int flags XML_DEPRECATED_MEMBER;
/* an unique identifier for the entity */
/* an unique identifier for the entity, unused internally */
int id XML_DEPRECATED_MEMBER;
/* unused */
unsigned long parentConsumed XML_DEPRECATED_MEMBER;