1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-03-19 14:50:07 +03:00

applied patch from Malcolm Tredinnick fixing bug #152426 Daniel

* parser.c: applied patch from Malcolm Tredinnick fixing bug #152426
Daniel
This commit is contained in:
Daniel Veillard 2004-10-04 11:53:20 +00:00
parent 263ec86a75
commit c93a19fc10
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
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:

View File

@ -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);
}