[webkit-changes] [WebKit/WebKit] 0b1741: [WebGPU] GPUQueue::getImageBytesFromImageBuffer wi...
mwyrzykowski
noreply at github.com
Tue Feb 6 22:04:17 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 0b1741165d8cff526b6e12bf79f2e0fdf831464e
https://github.com/WebKit/WebKit/commit/0b1741165d8cff526b6e12bf79f2e0fdf831464e
Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
Date: 2024-02-06 (Tue, 06 Feb 2024)
Changed paths:
M Source/WebCore/Modules/WebGPU/GPUQueue.cpp
Log Message:
-----------
[WebGPU] GPUQueue::getImageBytesFromImageBuffer will crash if pixel buffer is nullptr
https://bugs.webkit.org/show_bug.cgi?id=268842
<radar://122404631>
Reviewed by Dan Glastonbury.
If the pixel buffer is nullptr, we should stop the import.
* Source/WebCore/Modules/WebGPU/GPUQueue.cpp:
(WebCore::getImageBytesFromImageBuffer):
(WebCore::getImageBytesFromVideoFrame):
Canonical link: https://commits.webkit.org/274197@main
More information about the webkit-changes
mailing list