tried to fix #98879 again in a more solid way. Daniel

* HTMLparser.c: tried to fix #98879 again in a more solid
  way.
Daniel
diff --git a/HTMLparser.c b/HTMLparser.c
index 572a750..f46cd66 100644
--- a/HTMLparser.c
+++ b/HTMLparser.c
@@ -4493,6 +4493,12 @@
 	}
         if (avail < 1)
 	    goto done;
+	cur = in->cur[0];
+	if (cur == 0) {
+	    SKIP(1);
+	    continue;
+	}
+
         switch (ctxt->instate) {
             case XML_PARSER_EOF:
 	        /*