GNOME Bugzilla – Bug 726779
Invalid read parsing raw data as HTML
Last modified: 2017-06-17 11:03:30 UTC
I noticed some invalid read while parsing raw data (an SWF in this example) in HTML mode. I'm using libxml2-2.9.1. There is everything in the attachment to reproduce the bug : - C code based on parse3.c example - SWF file that caused the bug - A valgrind log for help I suspect a bug in htmlParseNameComplex() (HTMLparser.c:2488) I tried to replace line 2514 "NEXTL(l);" by "NEXTL(len);l=0;" and the invalid are gone but not sure at all of what i did ... I hope this helps ... adema
The attachment it too big the bugtracker, here it is : http://goo.gl/DA3MFk
*** This bug has been marked as a duplicate of bug 758605 ***