dawn-cmake/src
Ben Clayton d8e77e2e73 tint: Prevent integer overflow in IntrinsicTable
If the WGSL provided over 255 arguments, then we'd overflow the uint8_t,
and a bad candidate could be matched.

We have validation in place to ensure that user functions are not
declared with more than 255 parameters, but no validation for number of
arguments provided.

Fixed: chromium:1323605
Change-Id: I048709e8b02bdd95d5082128a1186080c79b2fc7
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/90249
Commit-Queue: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
2022-05-13 23:17:28 +00:00
..
dawn Validate if device is alive in EncodeFunction of EncodingContext::TryEncode 2022-05-13 21:05:57 +00:00
dawn_native tint->dawn: Move src/dawn_native -> src/dawn/native 2022-02-04 17:07:46 +00:00
dawn_platform tint->dawn: Move src/dawn_platform -> src/dawn/platform 2022-02-04 12:51:25 +00:00
dawn_wire tint->dawn: Move src/dawn_wire -> src/dawn/wire 2022-02-04 12:51:25 +00:00
fuzzers/dawn tint->dawn: Move src/fuzzers/dawn -> src/dawn/fuzzers 2022-02-04 18:48:05 +00:00
include Convert all dawn includes to use non-system include syntax. 2022-04-19 14:24:04 +00:00
tint tint: Prevent integer overflow in IntrinsicTable 2022-05-13 23:17:28 +00:00
Placeholder.cpp Fix inclusive language presubmit 2022-04-19 22:25:45 +00:00