From 62d83d5fcad015ce52f0f3122eab9df1c629cafb Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Thu, 16 Dec 2021 09:39:17 -0800 Subject: 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 --- test/lit/binary/bad-ref-as.test.wasm | Bin 0 -> 29 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 test/lit/binary/bad-ref-as.test.wasm (limited to 'test/lit/binary/bad-ref-as.test.wasm') diff --git a/test/lit/binary/bad-ref-as.test.wasm b/test/lit/binary/bad-ref-as.test.wasm new file mode 100644 index 000000000..637537dd2 Binary files /dev/null and b/test/lit/binary/bad-ref-as.test.wasm differ -- cgit v1.2.3