Bug 200684 - Fix potential thread safety issue under StorageManager::getSessionStorageOrigins()
Summary: Fix potential thread safety issue under StorageManager::getSessionStorageOrig...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-08-13 12:39 PDT by Chris Dumez
Modified: 2019-08-13 13:59 PDT (History)
7 users (show)

See Also:


Attachments
Patch (1.76 KB, patch)
2019-08-13 12:40 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2019-08-13 12:39:47 PDT
Fix potential thread safety issue under StorageManager::getSessionStorageOrigins(). The origins are being passed from the background queue to the main thread without isolated copy.
Comment 1 Chris Dumez 2019-08-13 12:40:30 PDT
Created attachment 376202 [details]
Patch
Comment 2 Geoffrey Garen 2019-08-13 13:22:35 PDT
Comment on attachment 376202 [details]
Patch

r=me
Comment 3 WebKit Commit Bot 2019-08-13 13:58:25 PDT
Comment on attachment 376202 [details]
Patch

Clearing flags on attachment: 376202

Committed r248633: <https://trac.webkit.org/changeset/248633>
Comment 4 WebKit Commit Bot 2019-08-13 13:58:26 PDT
All reviewed patches have been landed.  Closing bug.
Comment 5 Radar WebKit Bug Importer 2019-08-13 13:59:17 PDT
<rdar://problem/54272824>