1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-29 11:41:22 +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

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