Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7f49e34b9a178a68c34b463731bb8756eeb1fbea
      
https://github.com/WebKit/WebKit/commit/7f49e34b9a178a68c34b463731bb8756eeb1fbea
  Author: Mike Wyrzykowski <[email protected]>
  Date:   2025-10-22 (Wed, 22 Oct 2025)

  Changed paths:
    A LayoutTests/fast/webgpu/repro_301290-expected.txt
    A LayoutTests/fast/webgpu/repro_301290.html
    M Source/WebCore/Modules/WebGPU/GPUQueue.cpp

  Log Message:
  -----------
  WebGPU  GPUQueue.copyExternalImageToTexture Integer Overflow
https://bugs.webkit.org/show_bug.cgi?id=301290
rdar://163040732

Reviewed by Dan Glastonbury.

Check for overflow while checking the origin is within range.

OOB access was within a span<> so crash was safe but we still
don't want to crash here.

Test: fast/webgpu/repro_301290.html
* LayoutTests/fast/webgpu/repro_301290-expected.txt: Added.
* LayoutTests/fast/webgpu/repro_301290.html: Added.
* Source/WebCore/Modules/WebGPU/GPUQueue.cpp:
(WebCore::isStateValid):

Canonical link: https://commits.webkit.org/301984@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to