Changeset 69442 in webkit


Ignore:
Timestamp:
Oct 9, 2010 12:11:08 AM (14 years ago)
Author:
commit-queue@webkit.org
Message:

2010-10-09 Pratik Solanki <psolanki@apple.com>

Reviewed by Dan Bernstein.

https://bugs.webkit.org/show_bug.cgi?id=47450
Crash in WebCore::SocketStreamHandle::chooseProxyFromArray because proxyArray passed is nil
<rdar://problem/8244376>

  • platform/network/cf/SocketStreamHandleCFNet.cpp: (WebCore::SocketStreamHandle::chooseProxyFromArray): If proxyArray is NULL, return early to avoid crash.
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r69440 r69442  
     12010-10-09  Pratik Solanki  <psolanki@apple.com>
     2
     3        Reviewed by Dan Bernstein.
     4
     5        https://bugs.webkit.org/show_bug.cgi?id=47450
     6        Crash in WebCore::SocketStreamHandle::chooseProxyFromArray because proxyArray passed is nil
     7        <rdar://problem/8244376>
     8
     9        * platform/network/cf/SocketStreamHandleCFNet.cpp:
     10        (WebCore::SocketStreamHandle::chooseProxyFromArray): If proxyArray is
     11        NULL, return early to avoid crash.
     12
    1132010-10-08  Chris Rogers  <crogers@google.com>
    214
  • trunk/WebCore/platform/network/cf/SocketStreamHandleCFNet.cpp

    r68986 r69442  
    195195void SocketStreamHandle::chooseProxyFromArray(CFArrayRef proxyArray)
    196196{
    197     if (!proxyArray)
     197    if (!proxyArray) {
    198198        m_connectionType = Direct;
     199        return;
     200    }
    199201
    200202    CFIndex proxyArrayCount = CFArrayGetCount(proxyArray);
Note: See TracChangeset for help on using the changeset viewer.