diff options
author | Alon Zakai <azakai@google.com> | 2021-12-16 09:39:17 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-16 09:39:17 -0800 |
commit | 62d83d5fcad015ce52f0f3122eab9df1c629cafb (patch) | |
tree | 894177e8addef43e42918afa486143925c644608 /test/lit/binary/bad-ref-as.test.wasm | |
parent | 4905e74fff164d57aa1c5aaf7cb0f5c60ec635bc (diff) | |
download | binaryen-62d83d5fcad015ce52f0f3122eab9df1c629cafb.tar.gz binaryen-62d83d5fcad015ce52f0f3122eab9df1c629cafb.tar.bz2 binaryen-62d83d5fcad015ce52f0f3122eab9df1c629cafb.zip |
Add binary format parse checking for ref.as input type (#4389)
If that type is not valid then we cannot even create and finalize the node,
which means we'd hit an assertion inside finalize(), before we reach the
validator.
Fixes #4383
Diffstat (limited to 'test/lit/binary/bad-ref-as.test.wasm')
-rw-r--r-- | test/lit/binary/bad-ref-as.test.wasm | bin | 0 -> 29 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/test/lit/binary/bad-ref-as.test.wasm b/test/lit/binary/bad-ref-as.test.wasm Binary files differnew file mode 100644 index 000000000..637537dd2 --- /dev/null +++ b/test/lit/binary/bad-ref-as.test.wasm |