Re: [xml] null pointer access in htmlCreateDocParserCtxt()
- From: Daniel Veillard <veillard redhat com>
- To: Jean-Daniel Dupas <jddupas yahoo fr>
- Cc: xml gnome org
- Subject: Re: [xml] null pointer access in htmlCreateDocParserCtxt()
- Date: Thu, 26 Apr 2007 05:00:21 -0400
On Thu, Apr 26, 2007 at 10:29:16AM +0200, Jean-Daniel Dupas wrote:
Hello,
I just want to signal a problem in htmlCreateDocParserCtxt.
If "htmlCreateMemoryParserCtxt" returns a NULL context and the
encoding parameter is not null, htmlCreateDocParserCtxt wil crash
when it try to read "ctxt->input->encoding".
error, it should return NULL immediately
And about the htmlCreateDocParserCtxt function declaratin, is the
flag ATTRIBUTE_UNUSED relevant ?
right, not true anymore,
both fixed, thanks !
Daniel
--
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard | virtualization library http://libvirt.org/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]