Summary: | Crash under NetworkStorageSession::cookiesForSession() | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Chris Dumez <cdumez> | ||||||
Component: | WebKit2 | Assignee: | Chris Dumez <cdumez> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | achristensen, beidson, darin, ggaren | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | WebKit Nightly Build | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=221268 | ||||||||
Attachments: |
|
Description
Chris Dumez
2021-02-01 14:13:46 PST
Created attachment 418923 [details]
Patch
Created attachment 418934 [details]
Patch
Comment on attachment 418934 [details]
Patch
r=me
Committed r272211: <https://trac.webkit.org/changeset/272211> All reviewed patches have been landed. Closing bug and clearing flags on attachment 418934 [details]. Comment on attachment 418934 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=418934&action=review > Source/WebCore/platform/network/cocoa/NetworkStorageSessionCocoa.mm:270 > + return *cookiesPtr; Could add a WTFMove here and avoid one churn, since the "*" means the return-value optimization won’t happen. (In reply to Darin Adler from comment #6) > Comment on attachment 418934 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=418934&action=review > > > Source/WebCore/platform/network/cocoa/NetworkStorageSessionCocoa.mm:270 > > + return *cookiesPtr; > > Could add a WTFMove here and avoid one churn, since the "*" means the > return-value optimization won’t happen. I followed-up in <https://trac.webkit.org/changeset/272214>. Thanks. |