[Expat-checkins] expat/lib xmlparse.c,1.43,1.44

kwaclaw@users.sourceforge.net kwaclaw@users.sourceforge.net
Sun Jun 9 06:56:04 2002


Update of /cvsroot/expat/expat/lib
In directory usw-pr-cvs1:/tmp/cvs-serv10067

Modified Files:
	xmlparse.c 
Log Message:
Applied patch # 565510 - "reading uninitialized variable".

Index: xmlparse.c
===================================================================
RCS file: /cvsroot/expat/expat/lib/xmlparse.c,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -d -r1.43 -r1.44
--- xmlparse.c	9 Jun 2002 00:01:30 -0000	1.43
+++ xmlparse.c	9 Jun 2002 13:55:37 -0000	1.44
@@ -3617,7 +3617,7 @@
   processor = epilogProcessor;
   eventPtr = s;
   for (;;) {
-    const char *next;
+    const char *next = NULL;
     int tok = XmlPrologTok(encoding, s, end, &next);
     eventEndPtr = next;
     switch (tok) {