[Webkit-unassigned] [Bug 66113] New: [CFNetwork] willCacheResponse() leaks CFCachedURLResponseRef if delegate changes CacheStoragePolicy
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Aug 11 16:12:13 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=66113
Summary: [CFNetwork] willCacheResponse() leaks
CFCachedURLResponseRef if delegate changes
CacheStoragePolicy
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: P2
Component: Page Loading
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: ddkilzer at webkit.org
CC: aroben at apple.com, jberlin at webkit.org,
psolanki at apple.com
* SUMMARY
If the delegate callback changes the CacheStoragePolicy in willCacheResponse() in ResourceHandleCFNet.cpp, the cachedResponse object is returned as +2 retained. The contract for this method is to return a +1 retained object.
This regressed in ToT WebKit r23462. <http://trac.webkit.org/changeset/23462>
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list