mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-29 11:41:22 +03:00
applied fix to xmlSAXParseDTD from Malcolm Tredinnick closing #111638
* parser.c: applied fix to xmlSAXParseDTD from Malcolm Tredinnick closing #111638 Daniel
This commit is contained in:
2
parser.c
2
parser.c
@ -9578,7 +9578,7 @@ xmlSAXParseDTD(xmlSAXHandlerPtr sax, const xmlChar *ExternalID,
|
||||
*/
|
||||
|
||||
if ((ctxt->sax != NULL) && (ctxt->sax->resolveEntity != NULL))
|
||||
input = ctxt->sax->resolveEntity(ctxt->userData, ExternalID, SystemID);
|
||||
input = ctxt->sax->resolveEntity(ctxt, ExternalID, SystemID);
|
||||
if (input == NULL) {
|
||||
if (sax != NULL) ctxt->sax = NULL;
|
||||
xmlFreeParserCtxt(ctxt);
|
||||
|
Reference in New Issue
Block a user