Validate parser parameter to XML_SetStartCdataSectionHandler
This commit is contained in:
parent
5c374aa91d
commit
c49b1309fe
@ -1440,7 +1440,8 @@ XML_SetCdataSectionHandler(XML_Parser parser,
|
||||
void XMLCALL
|
||||
XML_SetStartCdataSectionHandler(XML_Parser parser,
|
||||
XML_StartCdataSectionHandler start) {
|
||||
startCdataSectionHandler = start;
|
||||
if (parser != NULL)
|
||||
startCdataSectionHandler = start;
|
||||
}
|
||||
|
||||
void XMLCALL
|
||||
|
Loading…
Reference in New Issue
Block a user