summaryrefslogtreecommitdiff
path: root/Kernel/Coredump.cpp
diff options
context:
space:
mode:
authorMacDue <macdue@dueutil.tech>2022-02-13 14:08:53 +0000
committerLinus Groh <mail@linusgroh.de>2022-02-13 14:51:09 +0000
commitb193351a998dab06228bf6cb8c2b0828704839c1 (patch)
treedce28804115070f4032b1e6e2d685d53394c0151 /Kernel/Coredump.cpp
parent62ad33af93103aa12c43131a2904743b96963e70 (diff)
downloadserenity-b193351a998dab06228bf6cb8c2b0828704839c1.zip
LibWeb: Fix off-by-one in HTMLTokenizer::restore_to()
The difference should be between m_utf8_iterator and the the new position, if m_prev_utf8_iterator is used one fewer source position is popped than required. This issue was not apparent on most pages since restore_to used for tokens such <!doctype> that are normally followed by a newline that resets the column to zero, but it can be seen on pages with minified HTML.
Diffstat (limited to 'Kernel/Coredump.cpp')
0 files changed, 0 insertions, 0 deletions