--- embedaddon/libxml2/parserInternals.c 2013/07/22 01:22:19 1.1.1.2 +++ embedaddon/libxml2/parserInternals.c 2013/07/22 01:28:50 1.1.1.2.2.1 @@ -1761,6 +1761,8 @@ xmlInitParserCtxt(xmlParserCtxtPtr ctxt) ctxt->charset = XML_CHAR_ENCODING_UTF8; ctxt->catalogs = NULL; ctxt->nbentities = 0; + ctxt->sizeentities = 0; + ctxt->sizeentcopy = 0; ctxt->input_id = 1; xmlInitNodeInfoSeq(&ctxt->node_seq); return(0);