mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-29 11:41:22 +03:00
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
This commit is contained in:
@ -5042,7 +5042,7 @@ docbInitParserCtxt(docbParserCtxtPtr ctxt)
|
||||
ctxt->userData = ctxt;
|
||||
ctxt->myDoc = NULL;
|
||||
ctxt->wellFormed = 1;
|
||||
ctxt->linenumbers = 1;
|
||||
ctxt->linenumbers = xmlLineNumbersDefaultValue;
|
||||
ctxt->replaceEntities = xmlSubstituteEntitiesDefaultValue;
|
||||
ctxt->html = 2;
|
||||
ctxt->record_info = 0;
|
||||
|
Reference in New Issue
Block a user