WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
280209
Use LazyNeverDestroyed in `static TextCheckerState& mutableState()`
https://bugs.webkit.org/show_bug.cgi?id=280209
Summary
Use LazyNeverDestroyed in `static TextCheckerState& mutableState()`
Charlie Wolfe
Reported
2024-09-23 14:19:09 PDT
Speculative fix. Crash reports indicate that mutableState() can be corrupted such that it contains non-bool values. Use LazyNeverDestroyed + dispatch_once to avoid issues when statically initializing this object from multiple threads.
Attachments
Add attachment
proposed patch, testcase, etc.
Charlie Wolfe
Comment 1
2024-09-23 14:19:10 PDT
<
rdar://problem/133862081
>
Charlie Wolfe
Comment 2
2024-09-23 14:20:27 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/34107
EWS
Comment 3
2024-09-23 17:07:41 PDT
Committed
284120@main
(0d08a5fd7147): <
https://commits.webkit.org/284120@main
> Reviewed commits have been landed. Closing PR #34107 and removing active labels.
EWS
Comment 4
2024-09-24 10:36:12 PDT
Committed
280938.373@safari-7619-branch
(f4756285b285): <
https://commits.webkit.org/280938.373@safari-7619-branch
> Reviewed commits have been landed. Closing PR #1882 and removing active labels.
EWS
Comment 5
2024-09-24 13:13:47 PDT
Committed
283286.127@safari-7620-branch
(2f4bc0404a97): <
https://commits.webkit.org/283286.127@safari-7620-branch
> Reviewed commits have been landed. Closing PR #1898 and removing active labels.
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