Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Regression(r223431): Crash under didReceiveChallenge in NetworkSessio…
…nCocoa https://bugs.webkit.org/show_bug.cgi?id=183134 <rdar://problem/36339049> Reviewed by Alex Christensen. Like other delegates functions in this file, it is possible for didReceiveChallenge to get called after _session has been nulled out. Other delegate functions already had early returns when _session is null. However, such early return was missing in didReceiveChallenge. This patch ends the early return to didReceiveChallenge so that we do not end up calling _session->downloadID(taskIdentifier) on a null _session. * NetworkProcess/cocoa/NetworkSessionCocoa.mm: (-[WKNetworkSessionDelegate URLSession:task:didReceiveChallenge:completionHandler:]): Canonical link: https://commits.webkit.org/198851@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@229031 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing with 24 additions and 1 deletion.