summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2003-08-14 23:57:26 +0000
committerDaniel Veillard <veillard@src.gnome.org>2003-08-14 23:57:26 +0000
commitbf1e3d8346db52965e247d4c488111da98f9db03 (patch)
tree442e60ff45ddaaab2c0a11f3abc0faf632b183a9
parente8ed62033cf726f6395e373bef0e4147304d897d (diff)
downloadlibxml2-bf1e3d8346db52965e247d4c488111da98f9db03.tar.gz
fixing the xmlSAXParseDTD bug #119536 raised by Malcolm Tredinnick with
* parser.c: fixing the xmlSAXParseDTD bug #119536 raised by Malcolm Tredinnick with the patch he suggested. Daniel
-rw-r--r--ChangeLog5
-rw-r--r--parser.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index b2c62725..6119ba5a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Fri Aug 15 01:55:53 CEST 2003 Daniel Veillard <daniel@veillard.com>
+
+ * parser.c: fixing the xmlSAXParseDTD bug #119536 raised by
+ Malcolm Tredinnick with the patch he suggested.
+
Fri Aug 15 01:37:10 CEST 2003 Daniel Veillard <daniel@veillard.com>
* HTMLparser.c: allocation error #119784 raised by Oliver Stoeneberg
diff --git a/parser.c b/parser.c
index 82caf10b..96acf993 100644
--- a/parser.c
+++ b/parser.c
@@ -9600,7 +9600,7 @@ xmlSAXParseDTD(xmlSAXHandlerPtr sax, const xmlChar *ExternalID,
if (ctxt->sax != NULL)
xmlFree(ctxt->sax);
ctxt->sax = sax;
- ctxt->userData = NULL;
+ ctxt->userData = ctxt;
}
/*