[webkit-changes] [WebKit/WebKit] 675df5: Fix infinite loop and OOB read after 288202 at main
Alex Christensen
noreply at github.com
Fri Dec 20 18:08:11 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 675df538a038d8220120577fd9d0717772848fe3
https://github.com/WebKit/WebKit/commit/675df538a038d8220120577fd9d0717772848fe3
Author: Alex Christensen <achristensen at apple.com>
Date: 2024-12-20 (Fri, 20 Dec 2024)
Changed paths:
M Source/WebCore/layout/formattingContexts/inline/text/TextUtil.cpp
Log Message:
-----------
Fix infinite loop and OOB read after 288202 at main
https://bugs.webkit.org/show_bug.cgi?id=285053
rdar://141854013
Reviewed by Vitor Roriz.
A size_t is always greater than or equal to zero. The loop didn't have proper exit criteria.
* Source/WebCore/layout/formattingContexts/inline/text/TextUtil.cpp:
(WebCore::Layout::TextUtil::lastBaseCharacterFromText):
Canonical link: https://commits.webkit.org/288203@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list