Summary: | [iOS] Crashes in CFURLConnection delegates due to unimplemented retain/release | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Alexey Proskuryakov <ap> | ||||||
Component: | Page Loading | Assignee: | Alexey Proskuryakov <ap> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | beidson, benjamin, ddkilzer, psolanki, sam | ||||||
Priority: | P1 | Keywords: | InRadar | ||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | iPhone / iPad | ||||||||
OS: | All | ||||||||
Attachments: |
|
Description
Alexey Proskuryakov
2014-10-16 09:54:29 PDT
*** Bug 135027 has been marked as a duplicate of this bug. *** Created attachment 239950 [details]
proposed fix
Created attachment 239957 [details]
with a build fix
Committed <https://trac.webkit.org/r174787>. Comment on attachment 239957 [details] with a build fix View in context: https://bugs.webkit.org/attachment.cgi?id=239957&action=review > Source/WebCore/platform/network/cf/ResourceHandleCFURLConnectionDelegate.cpp:61 > + static_cast<ResourceHandleCFURLConnectionDelegate*>(const_cast<void*>(clientInfo))->ref(); Is this thread-safe? Yes, ResourceHandleCFURLConnectionDelegate is a ThreadSafeRefCounted object, and it doesn't have any data members that are unsafe to destruct on any thread. |