Changeset 217914 in webkit
- Timestamp:
- Jun 7, 2017 8:10:43 PM (7 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r217910 r217914 1 2017-06-07 Ryosuke Niwa <rniwa@webkit.org> 2 3 Crash inside WebKit::PluginView::getAuthenticationInfo 4 https://bugs.webkit.org/show_bug.cgi?id=173083 5 6 Reviewed by Chris Dumez. 7 8 Added a null pointer check. The content document may have went away by the time we get there from IPC. 9 10 * WebProcess/Plugins/PluginView.cpp: 11 (WebKit::PluginView::getAuthenticationInfo): 12 1 13 2017-06-07 Youenn Fablet <youenn@apple.com> 2 14 -
trunk/Source/WebKit2/WebProcess/Plugins/PluginView.cpp
r217260 r217914 1595 1595 bool PluginView::getAuthenticationInfo(const ProtectionSpace& protectionSpace, String& username, String& password) 1596 1596 { 1597 String partitionName = m_pluginElement->contentDocument()->topDocument().securityOrigin().domainForCachePartition(); 1597 RefPtr<Document> contentDocument = m_pluginElement->contentDocument(); 1598 if (!contentDocument) 1599 return false; 1600 1601 String partitionName = contentDocument->topDocument().securityOrigin().domainForCachePartition(); 1598 1602 Credential credential = CredentialStorage::defaultCredentialStorage().get(partitionName, protectionSpace); 1599 1603 if (credential.isEmpty())
Note: See TracChangeset
for help on using the changeset viewer.