Stream: git-wasmtime

Topic: wasmtime / PR #3029 Fix fuzzers requesting 4gb memories


view this post on Zulip Wasmtime GitHub notifications bot (Jun 24 2021 at 18:31):

alexcrichton opened PR #3029 from fix-4gb-fuzz to main:

Wasmtime was updated to reject creation of memories exactly 4gb in size
in #3013, but the fuzzers still had the assumption that any request to
create a host object for a particular wasm type would succeed.
Unfortunately now, though, a request to create a 4gb memory fails. This
is an expected failure, though, so the fix here was to catch the error
and allow it.

<!--

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 (Jun 24 2021 at 18:37):

cfallin submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 24 2021 at 18:37):

cfallin submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 24 2021 at 18:37):

cfallin created PR review comment:

Would it make sense to have a slightly more specific match here? E.g. "Insufficient resources: memory" or somesuch?

view this post on Zulip Wasmtime GitHub notifications bot (Jun 24 2021 at 19:08):

alexcrichton updated PR #3029 from fix-4gb-fuzz to main.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 24 2021 at 19:53):

alexcrichton merged PR #3029.


Last updated: Oct 23 2024 at 20:03 UTC