1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-01-10 01:17:37 +03:00
libxml2/test/HTML
Nick Wellnhofer 477c7f6aff Fix quadratic runtime in HTML parser
Commit eeb99329 removed an important optimization avoiding quadratic
runtime when repeatedly scanning the input buffer for terminating
characters in the HTML push parser. The related bug is

    https://bugzilla.gnome.org/show_bug.cgi?id=444994

Make sure that ctxt->checkIndex is always written and store additional
parser state in ctxt->inSubset which is unused in the HTML parser.

Found by OSS-Fuzz.
2020-07-06 12:17:20 +02:00
..
53867.html script HTML parser error fix, corrects bug #319715 added test from Michael 2005-10-25 12:36:29 +00:00
758518-entity.html Add test cases for bug 758518 2017-06-12 18:26:11 +02:00
758518-tag.html Add test cases for bug 758518 2017-06-12 18:26:11 +02:00
758605.html Bug 758605: Heap-based buffer overread in xmlDictAddString <https://bugzilla.gnome.org/show_bug.cgi?id=758605> 2016-05-23 15:01:07 +08:00
758606_2.html Heap-based buffer overread in htmlCurrentChar 2016-05-23 15:01:07 +08:00
758606.html Heap-based buffer overread in htmlCurrentChar 2016-05-23 15:01:07 +08:00
attrents.html Mikhail Sogrine pointed out a bug in HTML parsing, applied his patch added 2002-10-22 19:14:58 +00:00
autoclose2.html Added a bunch of testsuite realted files missing, Daniel. 2000-07-14 14:54:24 +00:00
autoclose3.html Added a bunch of testsuite realted files missing, Daniel. 2000-07-14 14:54:24 +00:00
autoclose.html Added a bunch of testsuite realted files missing, Daniel. 2000-07-14 14:54:24 +00:00
cf_128.html - HTMLparser.c: Closed bug #54891 2001-05-19 13:24:56 +00:00
chunked_attr.html Fix quadratic runtime in HTML parser 2020-07-06 12:17:20 +02:00
doc2.htm Large sync between my W3C base and Gnome's one: 2000-08-12 21:12:04 +00:00
doc3.htm Large sync between my W3C base and Gnome's one: 2000-08-12 21:12:04 +00:00
Down.html - release 1.8.2 - HTML handling improvement - new tree handling functions 1999-12-21 15:35:29 +00:00
entities2.html fixing HTML entities in attributes parsing bug #362552 added to the 2006-10-17 15:56:35 +00:00
entities.html Large sync between my W3C base and Gnome's one: 2000-08-12 21:12:04 +00:00
fp40.htm Huge commit: 1.5.0, XML validation, Xpath, bugfixes, examples .... Daniel 1999-08-10 19:04:08 +00:00
html5_enc.html Add HTML parser support for HTML5 meta charset encoding declaration 2012-05-10 15:34:57 +08:00
liclose.html Revamped HTML parsing, lots of bug fixes for HTML stuff, 1999-10-14 09:10:25 +00:00
lt.html handle the case of < in quoted attributes, Bastian Kleineidam Daniel 2001-11-06 22:50:19 +00:00
noscript.html HTML parser error with <noscript> in the <head> 2012-05-11 19:31:12 +08:00
pre.html - HTMLtree.c: when in a pre element no formatting space should 2001-06-07 16:07:07 +00:00
python.html added support for HTML PIs #156087 added specific tests Daniel 2004-10-22 14:34:23 +00:00
reg1.html Revamped HTML parsing, lots of bug fixes for HTML stuff, 1999-10-14 09:10:25 +00:00
reg2.html Revamped HTML parsing, lots of bug fixes for HTML stuff, 1999-10-14 09:10:25 +00:00
reg3.html Revamped HTML parsing, lots of bug fixes for HTML stuff, 1999-10-14 09:10:25 +00:00
reg4.html Revamped HTML parsing, lots of bug fixes for HTML stuff, 1999-10-14 09:10:25 +00:00
repeat.html applied patch from James Bursa fixing an html parsing bug in push mode 2005-07-03 23:00:18 +00:00
script2.html applied UTF-8 script parsing bug #310229 fix from Jiri Netolicky added the 2005-07-13 16:37:38 +00:00
script.html - HTMLparser.c HTMLtree.[ch] SAX.c testHTML.c tree.c: fixed HTML 2000-10-14 23:38:43 +00:00
test2.html HTML parsing, output is now correct, added HTMLtests target and testcases, Daniel 1999-07-07 07:32:15 +00:00
test3.html HTML parsing, output is now correct, added HTMLtests target and testcases, Daniel 1999-07-07 07:32:15 +00:00
utf8bug.html fix an HTML parsing error on large data sections reported by Mike Day add 2008-09-25 16:06:18 +00:00
wired.html BUG FIXED #2784 HTML parsing/output improvements Rebuilt, updated the docs 1999-10-25 13:15:52 +00:00