Re: [xml] Crash in xmlPushInput]
- From: Ryan Phillips <ryan phillips ask com>
- To: xml gnome org
- Subject: Re: [xml] Crash in xmlPushInput]
- Date: Mon, 19 Jun 2006 23:34:42 -0700
Ryan Phillips wrote:
The crash does not happen if you remove the XML_PARSE_RECOVER option.
I will remove the crash in CVS, but I'm also thinking about ways to
allow XML_PARSE_RECOVER only in exceptional cases.
Daniel
Daniel:
Was my patch going to be committed to CVS? or a derivative of it?
-ryan
Index: parser.c
===================================================================
--- parser.c (revision 9555)
+++ parser.c (working copy)
@@ -1442,7 +1442,7 @@
if (ctxt->spaceNr > 0)
ctxt->space = &ctxt->spaceTab[ctxt->spaceNr - 1];
else
- ctxt->space = NULL;
+ ctxt->space = &ctxt->spaceTab[0];
ret = ctxt->spaceTab[ctxt->spaceNr];
ctxt->spaceTab[ctxt->spaceNr] = -1;
return(ret);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]