diff options
author | Ng Zhi An <zhin@chromium.org> | 2021-10-14 16:30:17 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-14 16:30:17 -0700 |
commit | 2c6d7f672f4e1f16873177d414004b226ae375bf (patch) | |
tree | 49fdec249f6a4003c5106f516a49c3b6996ca7ed /test/utils.py | |
parent | 0292500a805fad8752b14e5739462418fa3c2666 (diff) | |
download | wabt-2c6d7f672f4e1f16873177d414004b226ae375bf.tar.gz wabt-2c6d7f672f4e1f16873177d414004b226ae375bf.tar.bz2 wabt-2c6d7f672f4e1f16873177d414004b226ae375bf.zip |
Fix crash when i32/i64 const is followed by a nan expression (#1732)
The parsing code assumes that it is followed by a literal, and hits an
assertion, leading to a crash.
This is similar to 265abb94a5aa068a4f30365f7dcb62f717391f2c but for
integer const expressions.
Tests are upstream at https://github.com/WebAssembly/spec/pull/1379.
Diffstat (limited to 'test/utils.py')
0 files changed, 0 insertions, 0 deletions