[Expat-checkins] expat/lib xmlparse.c,1.54,1.55
kwaclaw@users.sourceforge.net
kwaclaw@users.sourceforge.net
Mon Jul 22 06:33:08 2002
Update of /cvsroot/expat/expat/lib
In directory usw-pr-cvs1:/tmp/cvs-serv6740
Modified Files:
xmlparse.c
Log Message:
Fix for bug #584832: incorrect handling of internal entities.
The wrong string pool was cleared.
Index: xmlparse.c
===================================================================
RCS file: /cvsroot/expat/expat/lib/xmlparse.c,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -d -r1.54 -r1.55
--- xmlparse.c 20 Jul 2002 13:31:06 -0000 1.54
+++ xmlparse.c 22 Jul 2002 13:32:37 -0000 1.55
@@ -2700,7 +2700,7 @@
return XML_ERROR_NO_MEMORY;
}
result = handleUnknownEncoding(parser, storedEncName);
- poolClear(&tempPool);
+ poolClear(&temp2Pool);
if (result == XML_ERROR_UNKNOWN_ENCODING)
eventPtr = encodingName;
return result;