Changeset 245923 in webkit
- Timestamp:
- May 30, 2019, 5:30:07 PM (7 years ago)
- Location:
- branches/safari-607-branch/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
loader/FrameLoader.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-607-branch/Source/WebCore/ChangeLog
r245922 r245923 1 2019-05-30 Kocsen Chung <kocsen_chung@apple.com> 2 3 Cherry-pick r245464. rdar://problem/51264866 4 5 Hardening: Prevent FrameLoader crash due to SetForScope 6 https://bugs.webkit.org/show_bug.cgi?id=197458 7 <rdar://problem/50368338> 8 9 Reviewed by Chris Dumez. 10 11 Since SetForScope takes action during a function returns, it might cause 12 a crash if its scope is broader than the value it is resetting. 13 14 * loader/FrameLoader.cpp: 15 (WebCore::FrameLoader::loadDifferentDocumentItem): 16 17 git-svn-id: https://svn.webkit.org/repository/webkit/trunk@245464 268f45cc-cd09-0410-ab3c-d52691b4dbfc 18 19 2019-05-17 Brent Fulgham <bfulgham@apple.com> 20 21 Hardening: Prevent FrameLoader crash due to SetForScope 22 https://bugs.webkit.org/show_bug.cgi?id=197458 23 <rdar://problem/50368338> 24 25 Reviewed by Chris Dumez. 26 27 Since SetForScope takes action during a function returns, it might cause 28 a crash if its scope is broader than the value it is resetting. 29 30 * loader/FrameLoader.cpp: 31 (WebCore::FrameLoader::loadDifferentDocumentItem): 32 1 33 2019-05-30 Kocsen Chung <kocsen_chung@apple.com> 2 34 -
branches/safari-607-branch/Source/WebCore/loader/FrameLoader.cpp
r244118 r245923 3667 3667 RELEASE_LOG_IF_ALLOWED("loadDifferentDocumentItem: frame load started (frame = %p, main = %d)", &m_frame, m_frame.isMainFrame()); 3668 3668 3669 Ref<Frame> protectedFrame(m_frame); 3670 3669 3671 // History items should not be reported to the parent. 3670 3672 m_shouldReportResourceTimingToParentFrame = false;
Note:
See TracChangeset
for help on using the changeset viewer.