cfallin opened PR #6434 from cfallin:fix-stackslot-overflow
to bytecodealliance:main
:
This PR catches and successfully errors out of compilation a situation where stackslots exceed the
u32
(4GB) range of the stack-frame layout computation.Note that this is not reachable from Wasmtime (it does not use stackslots) so does not have security implications there, but could cause issues in other compilers (e.g. cg\_clif) that pass arbitrary stackslot sizes to Cranelift.
Fixes #6431.
cfallin requested abrown for a review on PR #6434.
cfallin requested wasmtime-compiler-reviewers for a review on PR #6434.
alexcrichton submitted PR review.
cfallin merged PR #6434.
Last updated: Nov 22 2024 at 17:03 UTC