From 1d757a077184ba2c938fd4825e60c0d3587cfb76 Mon Sep 17 00:00:00 2001 From: "Fred L. Drake, Jr." Date: Fri, 23 Jul 2004 02:02:41 +0000 Subject: [PATCH] The status argument to XML_GetParsingStatus() cannot be NULL. --- expat/lib/xmlparse.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/expat/lib/xmlparse.c b/expat/lib/xmlparse.c index 1c0ccf0c..19a83ddc 100644 --- a/expat/lib/xmlparse.c +++ b/expat/lib/xmlparse.c @@ -4,6 +4,7 @@ #include #include /* memset(), memcpy() */ +#include #define XML_BUILDING_EXPAT 1 @@ -1735,6 +1736,7 @@ XML_ResumeParser(XML_Parser parser) void XMLCALL XML_GetParsingStatus(XML_Parser parser, XML_ParsingStatus *status) { + assert(status != NULL); *status = parser->m_parsingStatus; }