diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2003-10-31 10:36:03 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2003-10-31 10:36:03 +0000 |
commit | 157fee019d02e1ba4ed377ea21172b67f479241b (patch) | |
tree | a4d39c614ae74410bfb87a021037255187b3de95 /xmlIO.c | |
parent | 8a0a633ceaaf93faae6900d3c13d6328f4f06a9d (diff) | |
download | android_external_libxml2-157fee019d02e1ba4ed377ea21172b67f479241b.tar.gz android_external_libxml2-157fee019d02e1ba4ed377ea21172b67f479241b.tar.bz2 android_external_libxml2-157fee019d02e1ba4ed377ea21172b67f479241b.zip |
previous fix for #124044 was broken, correct fix provided. fix
* python/libxml.c: previous fix for #124044 was broken, correct
fix provided.
* HTMLparser.c parser.c parserInternals.c xmlIO.c: fix xmlStopParser()
and the error handlers to address #125877
Daniel
Diffstat (limited to 'xmlIO.c')
-rw-r--r-- | xmlIO.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -409,6 +409,9 @@ __xmlLoaderErr(void *ctx, const char *msg, const char *filename) void *data = NULL; xmlErrorLevel level = XML_ERR_ERROR; + if ((ctxt != NULL) && (ctxt->disableSAX != 0) && + (ctxt->instate == XML_PARSER_EOF)) + return; if ((ctxt != NULL) && (ctxt->sax != NULL)) { if (ctxt->validate) { channel = ctxt->sax->error; |