Stream: git-wasmtime

Topic: wasmtime / PR #3763 Fix MemFd's allocated memory for dyna...


view this post on Zulip Wasmtime GitHub notifications bot (Feb 03 2022 at 17:20):

alexcrichton opened PR #3763 from memfd-fuzz-1 to main:

This fixes a bug in the memfd-related management of a linear memory
where for dynamic memories memfd wasn't informed of the extra room that
the dynamic memory could grow into, only the actual size of linear
memory, which ended up tripping an assert once the memory was grown. The
fix here is pretty simple which is to factor in this extra space when
passing the allocation size to the creation of the MemFdSlot.

<!--

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 03 2022 at 17:36):

cfallin submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 03 2022 at 17:56):

alexcrichton merged PR #3763.


Last updated: Oct 23 2024 at 20:03 UTC