wabt
wabt copied to clipboard
Fix several issues found by fuzzing
Fixes https://github.com/WebAssembly/wabt/issues/1922 Fixes https://github.com/WebAssembly/wabt/issues/1924 Fixes https://github.com/WebAssembly/wabt/issues/1929
@Mem2019 Thank you for fixing these! Do you have cycles to make the changes requested in the review and get this merged? Would be great to have this in...
I wonder if that fact that we were missing those validation checks means there are some tests that are missing from the spec tests? i.e. why didn't the spec tests find these?
I looked into this. In this case, the tail-call proposal tests would have caught these binary-reader-interp bugs (causing a segfault or asan failure). But we're not running the tail-call proposal tests because (I guess?) the interpreter doesn't support tail calls yet. :-(