Commit d43cdcd6 authored by William M. Brack's avatar William M. Brack
Browse files

fixed initialisation problem for htmlReadMemory (bug 149041)

* HTMLparser.c: fixed initialisation problem for htmlReadMemory
  (bug 149041)
parent 6ca9ec82
Tue Aug 3 08:14:44 PDT 2004 William Brack <wbrack@mmm.com.hk>
* HTMLparser.c: fixed initialisation problem for htmlReadMemory
(bug 149041)
Sat Jul 31 11:01:33 PDT 2004 William Brack <wbrack@mmm.com.hk>
 
* doc/buildDocBookCatalog: enhanced per bug 119876. Further
......
......@@ -5648,6 +5648,8 @@ htmlReadMemory(const char *buffer, int size, const char *URL, const char *encodi
ctxt = xmlCreateMemoryParserCtxt(buffer, size);
if (ctxt == NULL)
return (NULL);
if (ctxt->sax != NULL)
memcpy(ctxt->sax, &htmlDefaultSAXHandler, sizeof(xmlSAXHandlerV1));
return (htmlDoRead(ctxt, URL, encoding, options, 0));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment