Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 6a12936c27910a9c46819b4d04521c622afc755a
https://github.com/WebKit/WebKit/commit/6a12936c27910a9c46819b4d04521c622afc755a
Author: Charlie Wolfe <[email protected]>
Date: 2026-06-10 (Wed, 10 Jun 2026)
Changed paths:
M Source/WebCore/platform/graphics/Image.cpp
Log Message:
-----------
Null deref in Image::toShareableBitmap when ShareableBitmap::create() fails
https://bugs.webkit.org/show_bug.cgi?id=316767
rdar://179212122
Reviewed by Pascoe.
ShareableBitmap::create() can return null, but the result was dereferenced
without a check. Return
nullptr when creation fails.
* Source/WebCore/platform/graphics/Image.cpp:
(WebCore::Image::toShareableBitmap const):
Canonical link: https://commits.webkit.org/314937@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications