Stream: git-wasmtime

Topic: wasmtime / PR #3021 Refactor some internal accessors of I...


view this post on Zulip Wasmtime GitHub notifications bot (Jun 22 2021 at 20:07):

alexcrichton opened PR #3021 from refactor-instance to main:

This commit removes some one-use methods to inline them at their use
site, and otherwise adds bounds checks to other functions like
imported_function where previously the FuncIndex may have been
accidentally out of bounds, which would cause memory unsafety. There's
no actual bug this was fixing, just trying to improve the safety of the
code internally a little.

<!--

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 23 2021 at 17:04):

fitzgen submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 23 2021 at 17:12):

alexcrichton merged PR #3021.


Last updated: Dec 23 2024 at 12:05 UTC