Bug 174721

Summary: WebResourceLoadStatisticsStore::m_operatingDates is unsafely modified from several threads
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebKit2Assignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, beidson, bfulgham, commit-queue, ggaren, rniwa, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Chris Dumez 2017-07-21 12:14:20 PDT
WebResourceLoadStatisticsStore::m_operatingDates is unsafely modified from several threads.
Comment 1 Chris Dumez 2017-07-21 12:14:46 PDT
<rdar://problem/33400343>
Comment 2 Chris Dumez 2017-07-21 12:18:46 PDT
Created attachment 316108 [details]
Patch
Comment 3 Brent Fulgham 2017-07-21 13:32:17 PDT
Comment on attachment 316108 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=316108&action=review

> Source/WebKit/UIProcess/WebResourceLoadStatisticsStore.cpp:286
> +    });

I didn’t look closely enough at what that routine did! Thank you for fixing this.
Comment 4 WebKit Commit Bot 2017-07-21 13:40:17 PDT
Comment on attachment 316108 [details]
Patch

Clearing flags on attachment: 316108

Committed r219739: <http://trac.webkit.org/changeset/219739>
Comment 5 WebKit Commit Bot 2017-07-21 13:40:18 PDT
All reviewed patches have been landed.  Closing bug.