summaryrefslogtreecommitdiff
path: root/test/lit/validation/ref-gc-simd.wast
diff options
context:
space:
mode:
authormtb <mtb0x10x1@gmail.com>2024-08-26 23:13:39 +0200
committerGitHub <noreply@github.com>2024-08-26 14:13:39 -0700
commit50181145e39304785ccedcd84be9cb7cc428b1f2 (patch)
treefae4b293735ed04727d16247f01b9fa9e88dae32 /test/lit/validation/ref-gc-simd.wast
parentb7af8dac2fe457d47d6b29cabb8327457341bffe (diff)
downloadbinaryen-50181145e39304785ccedcd84be9cb7cc428b1f2.tar.gz
binaryen-50181145e39304785ccedcd84be9cb7cc428b1f2.tar.bz2
binaryen-50181145e39304785ccedcd84be9cb7cc428b1f2.zip
Fix null dereference in FunctionValidator (#6849)
visitBlock() and validateCallParamsAndResult() both assumed they were running inside a function, but might be called on global code too. Calls and blocks are invalid in global positions, so we should error there, but must do so properly without a null deref. Fixes #6847 Fixes #6848
Diffstat (limited to 'test/lit/validation/ref-gc-simd.wast')
0 files changed, 0 insertions, 0 deletions