GNOME Bugzilla – Bug 172255
xmlParseCharData in parser.c can crash if ctxt->sax->ignorableWhitespace == NULL
Last modified: 2009-08-15 18:40:50 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 ***
Interesting, yes, a contextual patch is easier to track, but it was fairly easy, fixed in CVS, thanks ! Daniel
This should be closed by release of libxml2-2.6.21, thanks, Daniel