commit | 1493130ef24f8af2e1e70fdf12827374f670f7bf | [log] [tgz] |
---|---|---|
author | Nick Wellnhofer <wellnhofer@aevum.de> | Wed Jul 15 12:54:25 2020 +0200 |
committer | Nick Wellnhofer <wellnhofer@aevum.de> | Wed Jul 15 12:54:25 2020 +0200 |
tree | bcf697ee5dda6b25e8972c52a1a91e06de98c407 | |
parent | beb7d71a8fbd91f26fb552853c390e40bf19ecda [diff] |
Fix UTF-8 decoder in HTML parser Reject sequences starting with a continuation byte as well as overlong sequences like the XML parser. Also fixes an infinite loop in connection with previous commit 50078922 since htmlCurrentChar would return 0 even if not at the end of the buffer. Found by OSS-Fuzz.