mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-13 11:16:53 +00:00
I believe the issue was caused by the product of two u16s being promoted to (signed) int, which can cause unwanted overflow behaviour when comparing to size_t. Casting each term to size_t before the multiplication makes the comparison unsigned.
11 KiB
11 KiB