GNOME Bugzilla – Bug 777730
xmlParseNameComplex reads before the start of a heap buffer
Last modified: 2017-06-05 15:50:46 UTC
Note to self, this is https://crbug.com/683629 downstream.
Created attachment 344830 [details] Test case
Chromium's fuzzers created the attached repro which causes xmlParseNameComplex to read one heap byte before the name buffer, when the name is empty. Here's a local patch we are using to check the bounds before dereferencing, which may be useful: https://chromium.googlesource.com/chromium/src/+/b4054e8b83b60019c8cdcc9e9025fc6138725cf4%5E%21/#F1 When this is fixed upstream we'll be happy to discard our local patch.
*** This bug has been marked as a duplicate of bug 766956 ***