Changeset 280836 in webkit
- Timestamp:
- Aug 10, 2021, 2:29:58 AM (5 years ago)
- Location:
- releases/WebKitGTK/webkit-2.32/Source/WebKit
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
UIProcess/WebPageProxy.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
releases/WebKitGTK/webkit-2.32/Source/WebKit/ChangeLog
r280831 r280836 1 2021-03-09 Chris Dumez <cdumez@apple.com> 2 3 [IPC Hardening] Protect WebPageProxy::willSubmitForm() against bad Strings 4 https://bugs.webkit.org/show_bug.cgi?id=222955 5 <rdar://problem/75195062> 6 7 Reviewed by Anders Carlsson. 8 9 The Strings passed in textFieldValues are used as keys in a HashMap later on so we need 10 to validate them. 11 12 * UIProcess/WebPageProxy.cpp: 13 (WebKit::WebPageProxy::willSubmitForm): 14 1 15 2021-03-05 Chris Dumez <cdumez@apple.com> 2 16 -
releases/WebKitGTK/webkit-2.32/Source/WebKit/UIProcess/WebPageProxy.cpp
r280831 r280836 32 32 #include "APIContentWorld.h" 33 33 #include "APIContextMenuClient.h" 34 #include "APIDictionary.h" 34 35 #include "APIFindClient.h" 35 36 #include "APIFindMatchesClient.h" … … 5446 5447 MESSAGE_CHECK(m_process, sourceFrame); 5447 5448 5449 for (auto& pair : textFieldValues) 5450 MESSAGE_CHECK(m_process, API::Dictionary::MapType::isValidKey(pair.first)); 5451 5448 5452 m_formClient->willSubmitForm(*this, *frame, *sourceFrame, textFieldValues, m_process->transformHandlesToObjects(userData.object()).get(), [this, protectedThis = makeRef(*this), frameID, listenerID]() { 5449 5453 send(Messages::WebPage::ContinueWillSubmitForm(frameID, listenerID));
Note:
See TracChangeset
for help on using the changeset viewer.