Branch: refs/heads/webkitglib/2.50
Home: https://github.com/WebKit/WebKit
Commit: 6958658e0f8684dca70963218cd857c404f8ea72
https://github.com/WebKit/WebKit/commit/6958658e0f8684dca70963218cd857c404f8ea72
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/298234.477@webkitglib/2.50
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications