Files
ladybird/Userland/Libraries/LibWeb/HTML/Parser/HTMLEncodingDetection.cpp
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

17 KiB