WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
286498
Reduce use of strchr() in the codebase
https://bugs.webkit.org/show_bug.cgi?id=286498
Summary
Reduce use of strchr() in the codebase
Chris Dumez
Reported
2025-01-24 13:23:35 PST
Reduce use of strchr() in the codebase as it is considered unsafe. Use `find()` or `contains()` instead, which work with spans.
Attachments
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2025-01-24 13:50:41 PST
Pull request:
https://github.com/WebKit/WebKit/pull/39520
EWS
Comment 2
2025-01-25 12:37:57 PST
Committed
289391@main
(47bb88f5f7e7): <
https://commits.webkit.org/289391@main
> Reviewed commits have been landed. Closing PR #39520 and removing active labels.
Radar WebKit Bug Importer
Comment 3
2025-01-25 12:38:13 PST
<
rdar://problem/143634158
>
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