Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 0cf11bde07666d7b130f55f0d7b4070234d7701f
https://github.com/WebKit/WebKit/commit/0cf11bde07666d7b130f55f0d7b4070234d7701f
Author: Simon Pena <[email protected]>
Date: 2026-03-09 (Mon, 09 Mar 2026)
Changed paths:
M Source/WebCore/loader/cache/CachedRawResource.cpp
Log Message:
-----------
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
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications