Changeset 287042 in webkit
- Timestamp:
- Dec 14, 2021, 12:23:42 PM (5 years ago)
- Location:
- branches/safari-613.1.12-branch/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
page/csp/ContentSecurityPolicyDirectiveList.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-613.1.12-branch/Source/WebCore/ChangeLog
r286944 r287042 1 2021-12-14 Alan Coon <alancoon@apple.com> 2 3 Cherry-pick r287011. rdar://problem/86438924 4 5 WebContent process crashes at ContentSecurityPolicySourceList::matchesAll 6 https://bugs.webkit.org/show_bug.cgi?id=234288 7 rdar://problem/86438924 8 9 Reviewed by Simon Fraser. 10 11 * page/csp/ContentSecurityPolicyDirectiveList.cpp: 12 (WebCore::ContentSecurityPolicyDirectiveList::violatedDirectiveForScript const): 13 14 15 git-svn-id: https://svn.webkit.org/repository/webkit/trunk@287011 268f45cc-cd09-0410-ab3c-d52691b4dbfc 16 17 2021-12-13 Kate Cheney <katherine_cheney@apple.com> 18 19 WebContent process crashes at ContentSecurityPolicySourceList::matchesAll 20 https://bugs.webkit.org/show_bug.cgi?id=234288 21 rdar://problem/86438924 22 23 Reviewed by Simon Fraser. 24 25 * page/csp/ContentSecurityPolicyDirectiveList.cpp: 26 (WebCore::ContentSecurityPolicyDirectiveList::violatedDirectiveForScript const): 27 1 28 2021-12-13 Youenn Fablet <youenn@apple.com> 2 29 -
branches/safari-613.1.12-branch/Source/WebCore/page/csp/ContentSecurityPolicyDirectiveList.cpp
r286853 r287042 392 392 auto* operativeDirective = this->operativeDirective(m_scriptSrc.get(), ContentSecurityPolicyDirectiveNames::scriptSrcElem); 393 393 394 if ( operativeDirective->containsAllHashes(subResourceIntegrityDigests))394 if (!operativeDirective || operativeDirective->containsAllHashes(subResourceIntegrityDigests)) 395 395 return nullptr; 396 396
Note:
See TracChangeset
for help on using the changeset viewer.