1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-08-25 13:49:22 +03:00

fuzz: Fix spaceMax

This commit is contained in:
Nick Wellnhofer
2024-07-07 01:02:11 +02:00
parent 82e0455cf6
commit ea31ac5bba

View File

@ -2786,7 +2786,6 @@ xmlInitSAXParserCtxt(xmlParserCtxtPtr ctxt, const xmlSAXHandler *sax,
if (ctxt->spaceTab == NULL)
return(-1);
ctxt->spaceNr = 1;
ctxt->spaceMax = 10;
ctxt->spaceTab[0] = -1;
ctxt->space = &ctxt->spaceTab[0];
ctxt->myDoc = NULL;