1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-03-27 18:50:07 +03:00

Fix memory corruption

when xmlParseBalancedChunkMemoryInternal is called from xmlParseBalancedChunk
This commit is contained in:
Rob Richards 2011-02-18 12:17:17 -05:00
parent fec31bcd45
commit c794eb5bb0

View File

@ -6992,6 +6992,7 @@ xmlParseReference(xmlParserCtxtPtr ctxt) {
ent->owner = 1;
while (list != NULL) {
list->parent = (xmlNodePtr) ent;
xmlSetTreeDoc(list, ent->doc);
if (list->next == NULL)
ent->last = list;
list = list->next;