[Webkit-unassigned] [Bug 87579] New: [BlackBerry] http authentication crash the browser when user commit or cancel the http authentication dialog

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat May 26 09:14:13 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=87579

           Summary: [BlackBerry] http authentication crash the browser
                    when user commit or cancel the http authentication
                    dialog
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit BlackBerry
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jonathan.dong at torchmobile.com.cn
                CC: rwlbuis at gmail.com, charles.wei at torchmobile.com.cn,
                    tonikitoo at webkit.org, jmason at rim.com,
                    leo.yang at torchmobile.com.cn


RIM PR: 158892

Way to reproduce:

navigate to any site which needs http authentication, input something or cancel
it directly. Then you'll see the webviews process crash.


Root cause:
We release the m_handle in the old network job too early before we start a new one with authentication information attached. when the m_handle has been passed to the new network job and the old one received a dataReceivedNotify (e.g. parsing the body data received together with 401 header), the crash happens.
So we should make sure that we cancel the current network job first, and then start the new one. by doing this we can avoid receiving a dataReceivedNotify after we start the new job.

-- 
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