From: James Clark Date: Sun, 25 Apr 1999 12:12:01 +0000 (+0000) Subject: Fix for possible bug X-Git-Tag: V19990425~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=78102b202dd49e01116aa411a292a085358e2e62;p=libexpat Fix for possible bug --- diff --git a/expat/xmlparse/xmlparse.c b/expat/xmlparse/xmlparse.c index 35ce2fb3..5a2cc5ce 100755 --- a/expat/xmlparse/xmlparse.c +++ b/expat/xmlparse/xmlparse.c @@ -1054,7 +1054,7 @@ doContent(XML_Parser parser, } *eventPP = s; for (;;) { - const char *next; + const char *next = s; /* XmlContentTok doesn't always set the last arg */ int tok = XmlContentTok(enc, s, end, &next); *eventEndPP = next; switch (tok) {