Validate parser parameter to XML_SetProcssingInstructionHandler
@@ -1414,6 +1414,7 @@ void XMLCALL
XML_SetProcessingInstructionHandler(XML_Parser parser,
XML_ProcessingInstructionHandler handler)
{
+ if (parser != NULL)
processingInstructionHandler = handler;
}
