WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
287558
[SOUP] Check input size in PublicSuffixStore::platformTopPrivatelyControlledDomain()
https://bugs.webkit.org/show_bug.cgi?id=287558
Summary
[SOUP] Check input size in PublicSuffixStore::platformTopPrivatelyControlledD...
Adrian Perez
Reported
2025-02-12 04:38:46 PST
Instead of manually skipping over leading period characters, the function could use StringView::startsWith(), which also checks the string length, and discard the leading periods with StringView::substring().
Attachments
Add attachment
proposed patch, testcase, etc.
Adrian Perez
Comment 1
2025-02-12 04:55:41 PST
Pull request:
https://github.com/WebKit/WebKit/pull/40479
EWS
Comment 2
2025-02-12 10:51:47 PST
Committed
290281@main
(cd8aacf3af68): <
https://commits.webkit.org/290281@main
> Reviewed commits have been landed. Closing PR #40479 and removing active labels.
Radar WebKit Bug Importer
Comment 3
2025-02-12 10:52:18 PST
<
rdar://problem/144712853
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug