[webkit-changes] [WebKit/WebKit] 1ededc: [WGSL] Parser should check for maximum recursion d...
Tadeu Zagallo
noreply at github.com
Thu Sep 26 02:24:57 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 1ededc5900811e88f00b5c0247563d461e151c6f
https://github.com/WebKit/WebKit/commit/1ededc5900811e88f00b5c0247563d461e151c6f
Author: Tadeu Zagallo <tzagallo at apple.com>
Date: 2024-09-26 (Thu, 26 Sep 2024)
Changed paths:
M Source/WebGPU/WGSL/Parser.cpp
A Source/WebGPU/WGSL/tests/invalid/fuzz-133788509.wgsl
Log Message:
-----------
[WGSL] Parser should check for maximum recursion depth in nested ifs
https://bugs.webkit.org/show_bug.cgi?id=280335
rdar://133788509
Reviewed by Mike Wyrzykowski.
We check for maximum recursion depth when parsing statements, but `else if`
statements could recurse without going through the top level statement parsing,
so it needs a separate check.
* Source/WebGPU/WGSL/Parser.cpp:
(WGSL::Parser<Lexer>::parseIfStatementWithAttributes):
* Source/WebGPU/WGSL/tests/invalid/fuzz-133788509.wgsl: Added.
Canonical link: https://commits.webkit.org/284273@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