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; }