ladybird/Tests/LibWeb/Layout/input/incomplete-input-no-newline-at-eof-should-not-crash.html
MacDue 5e973fca0b LibWeb: Prevent OOB access in HTMLEncodingDetection for input of '</'
Previously, this never checked if `position + 2` was valid. This
slightly reorders the loop so all indices are checked.

Fixes #22163
2024-01-08 23:35:09 +01:00

1 line
2 B
HTML