1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-18 15:25:08 +00:00
serenity/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
No EOL
2 B
HTML