Branch: refs/heads/webkitglib/2.52
Home: https://github.com/WebKit/WebKit
Commit: 2e2bd6126b2a61a1307f67fc53f63c0b4b123bbb
https://github.com/WebKit/WebKit/commit/2e2bd6126b2a61a1307f67fc53f63c0b4b123bbb
Author: Simon Pena <[email protected]>
Date: 2026-03-09 (Mon, 09 Mar 2026)
Changed paths:
M Source/WebCore/loader/cache/CachedRawResource.cpp
Log Message:
-----------
Cherry-pick 308914@main (0cf11bde0766).
https://bugs.webkit.org/show_bug.cgi?id=309303
Null pointer dereference in CachedRawResource::didAddClient()
https://bugs.webkit.org/show_bug.cgi?id=309303
Reviewed by Adrian Perez de Castro.
CachedRawResource::didAddClient() checks that a client is valid and that
it is contained in the CachedResource list of clients or clients
awaiting callback before interacting with it.
However, the responseProcessHandler had an incorrect check where it
would dereference a client after it was invalid. This fixes the check.
No new tests.
* Source/WebCore/loader/cache/CachedRawResource.cpp:
(WebCore::CachedRawResource::didAddClient):
Canonical link: https://commits.webkit.org/308914@main
Canonical link: https://commits.webkit.org/305877.176@webkitglib/2.52
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications