1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-10-26 12:25:09 +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

@ -1,3 +1,7 @@
Thu Mar 27 15:22:41 CET 2003 Daniel Veillard <daniel@veillard.com>
* xinclude.c: should fix #109327 errors on memory accesses
Thu Mar 27 15:06:13 CET 2003 Daniel Veillard <daniel@veillard.com>
* HTMLtree.c: Fixed reopening of #78662 <form action="...">

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;