Index: lib/expat/xmlparse/xmlparse.c --- lib/expat/xmlparse/xmlparse.c.orig +++ lib/expat/xmlparse/xmlparse.c @@ -3195,7 +3195,7 @@ doIgnoreSection(XML_Parser const xmlParserP, int tok; *evPtr.startP = s; - *startPtr = '\0'; + *startPtr = NULL; tok = XmlIgnoreSectionTok(enc, s, end, &next); *evPtr.endP = next;