1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-29 11:41:22 +03:00

Various contributed patches:

- uri.c: applied patch for URI escaping from Wayne Davison
  <wayned@blorf.net>
- tree.c parserInternals.c HTMLparser.c: memset checks patches
  from Denis Barbier <barbier@imacs.polytechnique.fr>
- HTMLparser.c: UTF8 characters in HTML tag-attribute values
  patch from Wayne Davison
Daniel
This commit is contained in:
Daniel Veillard
2000-09-19 12:25:59 +00:00
parent d5f97f8077
commit 4fb87ee585
5 changed files with 40 additions and 118 deletions

View File

@ -2054,7 +2054,8 @@ xmlInitParserCtxt(xmlParserCtxtPtr ctxt)
if (sax == NULL) {
fprintf(stderr, "xmlInitParserCtxt: out of memory\n");
}
memset(sax, 0, sizeof(xmlSAXHandler));
else
memset(sax, 0, sizeof(xmlSAXHandler));
/* Allocate the Input stack */
ctxt->inputTab = (xmlParserInputPtr *) xmlMalloc(5 * sizeof(xmlParserInputPtr));