[webkit-changes] [WebKit/WebKit] 4f26d9: [WebGPU] indirectOffset can overflow and pass vali...

mwyrzykowski noreply at github.com
Tue Jul 30 10:10:59 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4f26d9652899289c792c7f6048b0889e5d73b89b
      https://github.com/WebKit/WebKit/commit/4f26d9652899289c792c7f6048b0889e5d73b89b
  Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
    M Source/WebGPU/WebGPU/ComputePassEncoder.mm

  Log Message:
  -----------
  [WebGPU] indirectOffset can overflow and pass validation
https://bugs.webkit.org/show_bug.cgi?id=277272
<radar://132741369>

Reviewed by Tadeu Zagallo.

Use checked arithmetic to avoid overflow.

* Source/WebGPU/WebGPU/ComputePassEncoder.mm:
(WebGPU::ComputePassEncoder::dispatchIndirect):

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



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


More information about the webkit-changes mailing list