openbsd-ports/net/xmlrpc-c/patches/patch-lib_expat_xmlparse_xmlparse_c

15 lines
433 B
Plaintext

$OpenBSD: patch-lib_expat_xmlparse_xmlparse_c,v 1.1 2018/05/11 19:15:53 sthen Exp $
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;