1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-08-07 06:43:02 +03:00

- valid.c: Bjorn detected an invalid memory access. Fixed

vstateVPush()
Daniel
This commit is contained in:
Daniel Veillard
2001-04-22 10:35:56 +00:00
parent 40af649f9b
commit 0680399c8d
2 changed files with 6 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
Sun Apr 22 12:34:41 CEST 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
* valid.c: Bjorn detected an invalid memory access. Fixed
vstateVPush()
Sun Apr 22 10:49:23 CEST 2001 Daniel Veillard <Daniel.Veillard@imag.fr> Sun Apr 22 10:49:23 CEST 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
* xpath.c: fixed xmlXPathCompile to detected unproperly ended expr * xpath.c: fixed xmlXPathCompile to detected unproperly ended expr

View File

@@ -112,6 +112,7 @@ vstateVPush(xmlValidCtxtPtr ctxt, xmlElementContentPtr cont,
"realloc failed !n"); "realloc failed !n");
return(0); return(0);
} }
ctxt->vstate = &ctxt->vstateTab[0];
} }
ctxt->vstateTab[ctxt->vstateNr].cont = cont; ctxt->vstateTab[ctxt->vstateNr].cont = cont;
ctxt->vstateTab[ctxt->vstateNr].node = node; ctxt->vstateTab[ctxt->vstateNr].node = node;