diff options
| author | Daniel Veillard <veillard@src.gnome.org> | 2001-10-29 11:48:19 +0000 |
|---|---|---|
| committer | Daniel Veillard <veillard@src.gnome.org> | 2001-10-29 11:48:19 +0000 |
| commit | 635ef72a94db9f647dcff11d33f50115564ce091 (patch) | |
| tree | e191d3b8f775e6332d9dc46ea0cfcc12cdd48746 /HTMLparser.c | |
| parent | 510953175566bbe17474e570d29e5437e2003ed2 (diff) | |
| download | android_external_libxml2-635ef72a94db9f647dcff11d33f50115564ce091.tar.gz android_external_libxml2-635ef72a94db9f647dcff11d33f50115564ce091.tar.bz2 android_external_libxml2-635ef72a94db9f647dcff11d33f50115564ce091.zip | |
apply fixes to close #63271 and avoid segfaults when the error routine
* parser.c globals.c DOCBparser.c HTMLparser.c error.c:
apply fixes to close #63271 and avoid segfaults when
the error routine gets callbed before xmlInitParser()
get called.
* nanoftp.c error.c: Applied patches from Justin Fletcher
correcting some xmlGenericError misuses.
Daniel
Diffstat (limited to 'HTMLparser.c')
| -rw-r--r-- | HTMLparser.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/HTMLparser.c b/HTMLparser.c index 0b9061d0..da4666c0 100644 --- a/HTMLparser.c +++ b/HTMLparser.c @@ -3747,6 +3747,7 @@ htmlInitParserCtxt(htmlParserCtxtPtr ctxt) ctxt->myDoc = NULL; ctxt->wellFormed = 1; ctxt->replaceEntities = 0; + ctxt->linenumbers = xmlLineNumbersDefaultValue; ctxt->html = 1; ctxt->record_info = 0; ctxt->validate = 0; |
