Fix occasional null-dereference crash in WebPageProxy::didReceiveServerRedirectForPro...
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 18 Dec 2018 01:32:34 +0000 (01:32 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 18 Dec 2018 01:32:34 +0000 (01:32 +0000)
commit9b5a38c119fe39511e671260f4038a0a6899adb3
tree3f22f7eb0c786431e8f1c11cb83774b8fb00986c
parentf7c2fd52a0bb88c3cd79ab8db9c53fa8972c715c
Fix occasional null-dereference crash in WebPageProxy::didReceiveServerRedirectForProvisionalLoadForFrame
https://bugs.webkit.org/show_bug.cgi?id=192744
<rdar://problem/45842668>

Patch by Alex Christensen <achristensen@webkit.org> on 2018-12-17
Reviewed by Chris Dumez.

* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::didReceiveServerRedirectForProvisionalLoadForFrame):
Things happen.  Navigations can be null.  If they are, we shouldn't dereference pointers to them.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@239305 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit/ChangeLog
Source/WebKit/UIProcess/WebPageProxy.cpp