Branch: refs/heads/webkitglib/2.52
Home: https://github.com/WebKit/WebKit
Commit: 6583c333f310a740142179b94f636f31be9f8534
https://github.com/WebKit/WebKit/commit/6583c333f310a740142179b94f636f31be9f8534
Author: Fady Farag <[email protected]>
Date: 2026-02-27 (Fri, 27 Feb 2026)
Changed paths:
M Source/WebCore/page/csp/ContentSecurityPolicy.cpp
Log Message:
-----------
Cherry-pick 308285@main (972d0abe03ba).
https://bugs.webkit.org/show_bug.cgi?id=308697
Address Use-After-Move in csp/ContentSecurityPolicy
https://bugs.webkit.org/show_bug.cgi?id=308697
rdar://171230905
Reviewed by Chris Dumez.
This fixes a use-after-move where the use happens in a
later loop iteration than the forward.
* Source/WebCore/page/csp/ContentSecurityPolicy.cpp:
(WebCore::requires):
(WebCore::ContentSecurityPolicy::allPoliciesWithDispositionAllow const):
(WebCore::ContentSecurityPolicy::allPoliciesAllow const):
Canonical link: https://commits.webkit.org/308285@main
Canonical link: https://commits.webkit.org/305877.110@webkitglib/2.52
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications