WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
256931
[webkitcorepy] Fix race condition in FileLock
https://bugs.webkit.org/show_bug.cgi?id=256931
Summary
[webkitcorepy] Fix race condition in FileLock
Jonathan Bedard
Reported
2023-05-17 17:15:41 PDT
If a process releases and then imiediately attempts to re-aquire a FileLock, we will end up with a race-condition if another process is also trying to do the same. FileLock should be robust against this race condition, since this is precisely the situation where a FileLock is most useful.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-05-17 17:16:19 PDT
<
rdar://problem/109487762
>
Jonathan Bedard
Comment 2
2023-05-17 17:19:21 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/13993
EWS
Comment 3
2023-05-22 07:40:06 PDT
Committed
264321@main
(1c10cac85558): <
https://commits.webkit.org/264321@main
> Reviewed commits have been landed. Closing PR #13993 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