WebContent crash under WebCore::CachedResource::load in WebCore::FrameLoader::outgoin...
authorantti@apple.com <antti@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 14 Dec 2016 18:54:28 +0000 (18:54 +0000)
committerantti@apple.com <antti@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 14 Dec 2016 18:54:28 +0000 (18:54 +0000)
commitfe775d59fa99189542cfa1b76333babaf90d1c5e
tree223f86bff872730ef55a4abeaede770c2e7d9984
parent2b627b14819652029294913eba94e7847481821a
WebContent crash under WebCore::CachedResource::load in WebCore::FrameLoader::outgoingReferrer const
https://bugs.webkit.org/show_bug.cgi?id=165852
<rdar://problem/27297153>

Reviewed by Chris Dumez.

There appears to be some path where we get here with a null frame.
No test, don't know how exactly this happens.

* loader/FrameLoader.cpp:
(WebCore::FrameLoader::outgoingReferrer):

    Null check the frame.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@209817 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/loader/FrameLoader.cpp