Stream: git-wasmtime

Topic: wasmtime / PR #3874 Remove some asserts in `MemoryImage::...


view this post on Zulip Wasmtime GitHub notifications bot (Mar 02 2022 at 19:18):

alexcrichton opened PR #3874 from another-fuzz-fix to main:

This commit removes some .unwrap() annotations around casts between
integers to either be infallible or handle errors. This fixes a panic in
a fuzz test case that popped out for memory64-using modules. The actual
issue here is pretty benign, we were just too eager about assuming
things fit into 32-bit.

<!--

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 (Mar 02 2022 at 19:21):

cfallin submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 02 2022 at 20:05):

alexcrichton merged PR #3874.


Last updated: Dec 23 2024 at 12:05 UTC