[webkit-changes] [WebKit/WebKit] 438e5a: [WGSL] Struct size computation can still overflow

Tadeu Zagallo noreply at github.com
Tue Jul 2 08:47:01 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 438e5ad731250075ae206b438270062bef527874
      https://github.com/WebKit/WebKit/commit/438e5ad731250075ae206b438270062bef527874
  Author: Tadeu Zagallo <tzagallo at apple.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    A LayoutTests/fast/webgpu/regression/repro_130656572-expected.txt
    A LayoutTests/fast/webgpu/regression/repro_130656572.html
    M Source/WebGPU/WGSL/AttributeValidator.cpp

  Log Message:
  -----------
  [WGSL] Struct size computation can still overflow
https://bugs.webkit.org/show_bug.cgi?id=276083
rdar://130656572

Reviewed by Mike Wyrzykowski.

There were still two places were we added to offset, which isn't a checked value.

* LayoutTests/fast/webgpu/regression/repro_130656572-expected.txt: Added.
* LayoutTests/fast/webgpu/regression/repro_130656572.html: Added.
* Source/WebGPU/WGSL/AttributeValidator.cpp:
(WGSL::AttributeValidator::visit):

Canonical link: https://commits.webkit.org/280579@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