Stream: git-wasmtime

Topic: wasmtime / PR #5866 s390x: Fix integer overflow during ne...


view this post on Zulip Wasmtime GitHub notifications bot (Feb 23 2023 at 15:43):

uweigand opened PR #5866 from s390x-neg-overflow to main:

Use wrapping_neg in i{64,32,16}_from_negated_value to avoid Rust aborts due to integer overflow. The resulting INT_MIN is already handled correctly in subsequent operations.

Fixes https://github.com/bytecodealliance/wasmtime/issues/5863.

CC @afonso360 @cfallin

<!--

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 (Feb 23 2023 at 16:32):

jameysharp submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 23 2023 at 18:26):

jameysharp merged PR #5866.


Last updated: Dec 23 2024 at 13:07 UTC