Commit c93a19fc authored by Daniel Veillard's avatar Daniel Veillard
Browse files

applied patch from Malcolm Tredinnick fixing bug #152426 Daniel

* parser.c: applied patch from Malcolm Tredinnick fixing bug #152426
Daniel
parent 263ec86a
Mon Oct 4 13:53:24 CEST 2004 Daniel Veillard <daniel@veillard.com>
* parser.c: applied patch from Malcolm Tredinnick fixing bug #152426
Mon Oct 4 12:26:28 CEST 2004 Daniel Veillard <daniel@veillard.com>
* python/generator.py python/libxml.c python/tests/outbuf.py:
......
......@@ -10219,7 +10219,7 @@ xmlSAXParseDTD(xmlSAXHandlerPtr sax, const xmlChar *ExternalID,
* Canonicalise the system ID
*/
systemIdCanonic = xmlCanonicPath(SystemID);
if (systemIdCanonic == NULL) {
if ((SystemID != NULL) && (systemIdCanonic == NULL)) {
xmlFreeParserCtxt(ctxt);
return(NULL);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment