Validate parser parameter to XML_SetStartCdataSectionHandler
@@ -1440,6 +1440,7 @@ XML_SetCdataSectionHandler(XML_Parser parser,
void XMLCALL
XML_SetStartCdataSectionHandler(XML_Parser parser,
XML_StartCdataSectionHandler start) {
+ if (parser != NULL)
startCdataSectionHandler = start;
}
