1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-29 11:41:22 +03:00

should fix #109327 errors on memory accesses Daniel

* xinclude.c: should fix #109327 errors on memory accesses
Daniel
This commit is contained in:
Daniel Veillard
2003-03-27 14:24:00 +00:00
parent c7e9b194e7
commit d9b72839b3
2 changed files with 9 additions and 0 deletions

View File

@ -538,6 +538,11 @@ xmlXIncludeRecurseDoc(xmlXIncludeCtxtPtr ctxt, xmlDocPtr doc,
newctxt->incTab[i]->count--;
newctxt->incTab[i] = NULL;
}
/* urlTab may have been reallocated */
ctxt->urlTab = newctxt->urlTab;
ctxt->urlMax = newctxt->urlMax;
newctxt->urlMax = 0;
newctxt->urlNr = 0;
newctxt->urlTab = NULL;