After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 172255 - xmlParseCharData in parser.c can crash if ctxt->sax->ignorableWhitespace == NULL
xmlParseCharData in parser.c can crash if ctxt->sax->ignorableWhitespace == NULL
Status: VERIFIED FIXED
Product: libxml2
Classification: Platform
Component: general
2.6.18
Other All
: High critical
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2005-03-31 14:05 UTC by gnome
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description gnome 2005-03-31 14:05:53 UTC
Steps to reproduce:
If necessary I can dig through my archives to find the details but essentially I was using a SAX parser to 
parse SVG files when I encountered this.  (I've changed this since to use a tree in order to support CSS.)
Anyway, the proposed change should be quite safe.

CEH

Stack trace:


Other information:
diff for parser.c:

3222a3223
>                   if (ctxt->sax->ignorableWhitespace != NULL)
3276a3278
>                   if (ctxt->sax->ignorableWhitespace != NULL)

*** end ***
Comment 1 Daniel Veillard 2005-03-31 14:41:55 UTC
Interesting, yes, a contextual patch is easier to track, but it was
fairly easy, fixed in CVS, thanks !

Daniel
Comment 2 Daniel Veillard 2005-09-05 09:01:57 UTC
This should be closed by release of libxml2-2.6.21,

  thanks,

Daniel