Changeset 92261 in webkit
- Timestamp:
- Aug 2, 2011 10:07:51 PM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r92260 r92261 1 2011-08-02 Pratik Solanki <psolanki@apple.com> 2 3 Crash in ResourceResponse::platformCompare() with USE(CFNETWORK) 4 https://bugs.webkit.org/show_bug.cgi?id=65584 5 6 Reviewed by David Kilzer. 7 8 * platform/network/cf/ResourceResponseCFNet.cpp: 9 (WebCore::ResourceResponse::platformCompare): Don't call CFEqual with 0 as an argument. 10 1 11 2011-08-02 Takashi Toyoshima <toyoshim@chromium.org> 2 12 -
trunk/Source/WebCore/platform/network/cf/ResourceResponseCFNet.cpp
r91102 r92261 138 138 bool ResourceResponse::platformCompare(const ResourceResponse& a, const ResourceResponse& b) 139 139 { 140 // CFEqual crashes if you pass it 0 so do an early check before calling it. 141 if (!a.cfURLResponse() || !b.cfURLResponse()) 142 return a.cfURLResponse() == b.cfURLResponse(); 140 143 return CFEqual(a.cfURLResponse(), b.cfURLResponse()); 141 144 }
Note: See TracChangeset
for help on using the changeset viewer.