Stream: git-wasmtime

Topic: wasmtime / PR #2120 Wasm translation bugfix: properly cle...


view this post on Zulip Wasmtime GitHub notifications bot (Aug 08 2020 at 01:46):

cfallin opened PR #2120 from wasm-unreachable-if-else-params to main:

The Wasm translation handles unreachable code sections
specially, skipping ops until the end of a block and a control-flow
merger at which code becomes reachable again. Unfortunately, while the
ordinary else-op handler properly sets up the value stack for the
else-branch with the parameters to the if/else, the unreachable-case
else-op handler did not. This resulted in a bad translation and CLIF
type error despite valid Wasm.

Found via fuzzing by :decoder in
https://bugzilla.mozilla.org/show_bug.cgi?id=1657895.

<!--

Please ensure that the following steps are all taken care of before submitting
the PR.

Please ensure all communication adheres to the code of conduct.
-->

view this post on Zulip Wasmtime GitHub notifications bot (Aug 08 2020 at 01:46):

cfallin requested fitzgen for a review on PR #2120.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 10 2020 at 15:28):

fitzgen submitted PR Review.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 10 2020 at 15:36):

fitzgen merged PR #2120.


Last updated: Dec 23 2024 at 12:05 UTC