Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0b1741165d8cff526b6e12bf79f2e0fdf831464e
      
https://github.com/WebKit/WebKit/commit/0b1741165d8cff526b6e12bf79f2e0fdf831464e
  Author: Mike Wyrzykowski <[email protected]>
  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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to