From: James Clark Date: Fri, 30 Oct 1998 07:02:08 +0000 (+0000) Subject: Fix bug with multibyte character after minus in comment X-Git-Tag: V19981122~18 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3f4d87b03acb18a0aefdd603db5f5e02c6a83c28;p=libexpat Fix bug with multibyte character after minus in comment --- diff --git a/expat/xmltok/xmltok_impl.c b/expat/xmltok/xmltok_impl.c index 17aec86f..44949238 100755 --- a/expat/xmltok/xmltok_impl.c +++ b/expat/xmltok/xmltok_impl.c @@ -128,7 +128,7 @@ int PREFIX(scanComment)(const ENCODING *enc, const char *ptr, const char *end, *nextTokPtr = ptr + MINBPC; return XML_TOK_COMMENT; } - /* fall through */ + break; default: ptr += MINBPC; break;