[Expat-checkins] expat/lib xmlparse.c,1.153,1.154

Fred L. Drake fdrake at users.sourceforge.net
Sat Jul 1 05:57:32 CEST 2006


Update of /cvsroot/expat/expat/lib
In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv17986/lib

Modified Files:
	xmlparse.c 
Log Message:
SF bug #1515266: missing check of stopped parser in doContext() for loop
(variation of patch by Brett Cannon; test case to come tomorrow)


Index: xmlparse.c
===================================================================
RCS file: /cvsroot/expat/expat/lib/xmlparse.c,v
retrieving revision 1.153
retrieving revision 1.154
diff -u -d -r1.153 -r1.154
--- xmlparse.c	14 Apr 2006 17:19:09 -0000	1.153
+++ xmlparse.c	1 Jul 2006 03:57:29 -0000	1.154
@@ -2555,6 +2555,8 @@
                                  (int)(dataPtr - (ICHAR *)dataBuf));
             if (s == next)
               break;
+            if (ps_parsing == XML_FINISHED)
+              break;
             *eventPP = s;
           }
         }



More information about the Expat-checkins mailing list