Changeset 280831 in webkit
- Timestamp:
- Aug 10, 2021, 2:22:45 AM (5 years ago)
- Location:
- releases/WebKitGTK/webkit-2.32/Source/WebKit
- Files:
-
- 3 edited
-
ChangeLog (modified) (1 diff)
-
UIProcess/WebNavigationState.h (modified) (1 diff)
-
UIProcess/WebPageProxy.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
releases/WebKitGTK/webkit-2.32/Source/WebKit/ChangeLog
r280293 r280831 1 2021-03-05 Chris Dumez <cdumez@apple.com> 2 3 [IPC Hardening] Protect against bad navigationID in WebPageProxy::didDestroyNavigation() 4 https://bugs.webkit.org/show_bug.cgi?id=222842 5 <rdar://problem/75119560> 6 7 Reviewed by Darin Adler. 8 9 * UIProcess/WebNavigationState.h: 10 * UIProcess/WebPageProxy.cpp: 11 (WebKit::WebPageProxy::didDestroyNavigation): 12 1 13 2021-07-23 Adrian Perez de Castro <aperez@igalia.com> 2 14 -
releases/WebKitGTK/webkit-2.32/Source/WebKit/UIProcess/WebNavigationState.h
r273023 r280831 68 68 } 69 69 70 using NavigationMap = HashMap<uint64_t, RefPtr<API::Navigation>>; 71 70 72 private: 71 HashMap<uint64_t, RefPtr<API::Navigation>>m_navigations;73 NavigationMap m_navigations; 72 74 uint64_t m_navigationID { 0 }; 73 75 }; -
releases/WebKitGTK/webkit-2.32/Source/WebKit/UIProcess/WebPageProxy.cpp
r280136 r280831 4383 4383 void WebPageProxy::didDestroyNavigation(uint64_t navigationID) 4384 4384 { 4385 MESSAGE_CHECK(m_process, WebNavigationState::NavigationMap::isValidKey(navigationID)); 4386 4385 4387 PageClientProtector protector(pageClient()); 4386 4388 … … 4389 4391 return; 4390 4392 4391 // FIXME: Message check the navigationID.4392 4393 m_navigationState->didDestroyNavigation(navigationID); 4393 4394 }
Note:
See TracChangeset
for help on using the changeset viewer.