Ben Clayton
34ae7d2ce7
wgsl/parser: Avoid stack overflows
...
Most recursive control flow passes through Sync().
Error out if the Sync() function is recursively called too many times.
This replaces the more specific kMaxConstExprDepth, which also passes
through Sync().
Fixed: chromium:1178436
Change-Id: I64a05f9f6a4fe6d2b53a3ca75642b30e98c7a35f
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/41724
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: dan sinclair <dsinclair@chromium.org>
2021-02-17 16:16:02 +00:00
..
2021-02-01 18:23:23 +00:00
2021-02-01 18:23:23 +00:00
2020-11-02 15:25:18 +00:00
2021-01-26 16:57:10 +00:00
2021-01-26 16:57:10 +00:00
2020-11-30 23:30:58 +00:00
2021-01-26 16:57:10 +00:00
2020-11-30 23:30:58 +00:00
2020-11-30 23:30:58 +00:00
2021-01-26 16:57:10 +00:00
2020-11-30 23:30:58 +00:00
2021-02-17 16:16:02 +00:00
2020-11-30 23:30:58 +00:00
2020-11-30 23:30:58 +00:00
2020-11-30 23:30:58 +00:00
2021-01-21 15:42:10 +00:00
2020-11-09 20:44:34 +00:00
2020-11-30 23:30:58 +00:00
2020-11-30 23:30:58 +00:00
2021-01-26 16:57:10 +00:00
2021-02-17 16:16:02 +00:00
2021-01-11 21:09:22 +00:00
2021-01-26 16:57:10 +00:00
2021-01-29 10:55:40 +00:00
2021-01-26 16:57:10 +00:00
2020-11-30 23:30:58 +00:00
2020-11-30 23:30:58 +00:00
2021-01-26 16:57:10 +00:00
2021-01-26 16:57:10 +00:00
2021-02-01 14:59:13 +00:00
2021-01-26 16:57:10 +00:00
2021-02-08 15:08:49 +00:00
2020-11-30 23:30:58 +00:00
2021-01-21 15:42:10 +00:00
2021-01-26 16:57:10 +00:00
2021-01-26 16:57:10 +00:00
2021-01-26 16:57:10 +00:00
2020-11-30 23:30:58 +00:00
2021-01-26 16:57:10 +00:00
2021-01-26 16:57:10 +00:00
2020-11-30 23:30:58 +00:00
2020-11-18 19:40:00 +00:00
2021-02-16 14:53:49 +00:00
2021-01-27 21:49:06 +00:00
2021-01-26 16:57:10 +00:00
2021-01-26 21:44:54 +00:00
2021-01-21 15:42:10 +00:00
2021-02-01 18:23:23 +00:00
2020-11-30 23:30:58 +00:00
2020-12-14 20:31:17 +00:00
2021-01-18 21:06:34 +00:00
2021-01-26 21:44:54 +00:00
2021-01-26 16:57:10 +00:00
2021-01-26 16:57:10 +00:00
2020-11-30 23:30:58 +00:00
2020-11-30 23:30:58 +00:00
2020-11-30 23:30:58 +00:00
2020-11-30 23:30:58 +00:00
2021-01-26 16:57:10 +00:00
2021-01-29 10:55:40 +00:00
2020-11-30 23:30:58 +00:00
2020-11-18 19:40:00 +00:00
2021-01-26 16:57:10 +00:00
2021-01-26 16:57:10 +00:00
2021-01-26 21:44:54 +00:00
2021-01-26 16:57:10 +00:00
2021-02-01 18:23:23 +00:00
2021-01-26 16:57:10 +00:00
2021-01-21 15:42:10 +00:00
2020-11-30 23:30:58 +00:00
2021-02-16 21:37:01 +00:00
2021-01-26 16:57:10 +00:00
2021-02-01 18:23:23 +00:00
2021-01-18 21:06:34 +00:00
2021-02-17 16:16:02 +00:00
2021-02-17 16:16:02 +00:00
2021-01-27 18:49:05 +00:00
2021-01-27 18:49:05 +00:00
2021-01-27 18:49:05 +00:00
2020-11-02 15:25:18 +00:00
2021-02-01 18:23:23 +00:00
2021-02-01 18:23:23 +00:00