[webkit-changes] [WebKit/WebKit] 7504fa: [WGSL] Check for recursion depth in lhs expression

Tadeu Zagallo noreply at github.com
Thu Feb 1 08:25:00 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7504facfbe6c1fb3fdce2d8931f0905d9c0acf98
      https://github.com/WebKit/WebKit/commit/7504facfbe6c1fb3fdce2d8931f0905d9c0acf98
  Author: Tadeu Zagallo <tzagallo at apple.com>
  Date:   2024-02-01 (Thu, 01 Feb 2024)

  Changed paths:
    M Source/WebGPU/WGSL/Parser.cpp

  Log Message:
  -----------
  [WGSL] Check for recursion depth in lhs expression
https://bugs.webkit.org/show_bug.cgi?id=268459
rdar://121520440

Reviewed by Mike Wyrzykowski.

We have recursion depth checks in expressions and statements, but lhs expressions
(e.g. *****x = ...) can recurse without going through either of those.

* Source/WebGPU/WGSL/Parser.cpp:
(WGSL::Parser<Lexer>::parseLHSExpression):

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




More information about the webkit-changes mailing list