Missing lock in PromiseWorkerProxy::Create()
Categories
(Core :: DOM: Workers, defect, P2)
Tracking
()
People
(Reporter: jesup, Assigned: jesup)
References
(Blocks 1 open bug)
Details
(Keywords: sec-other, Whiteboard: [post-critsmash-triage][adv-main97+r])
Attachments
(1 file)
We should be locking before calling CleanupProperties() in the error case where a worker is in mid-shutdown when we try to call PromiseWorkerProxy::Create()
Assignee | ||
Comment 1•2 years ago
|
||
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Comment 2•2 years ago
|
||
There doesn't seem to be any actual issue here, since the lock is missing from case when the ::Create method fails and nothing has been posted to another thread.
Updated•2 years ago
|
Comment 3•2 years ago
|
||
I removed sec-moderate, since I can't see what a concrete security issue could be here.
Add it back if I missed something :)
Updated•2 years ago
|
Comment 4•2 years ago
|
||
PromiseWorkerProxy cleanup r=smaug
https://hg.mozilla.org/integration/autoland/rev/5d3d5ff52f415d01eb30726836153fa359c0ed20
https://hg.mozilla.org/mozilla-central/rev/5d3d5ff52f41
Comment 5•2 years ago
|
||
Per IRL discussion with Randell, this is mostly cleanup and not likely affecting us in the wild in a way which would make us want to backport.
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Description
•