Stream: git-wasmtime

Topic: wasmtime / PR #10589 Fix `FreeList::add_capacity` when we...


view this post on Zulip Wasmtime GitHub notifications bot (Apr 15 2025 at 20:16):

fitzgen opened PR #10589 from fitzgen:add-capacity-not-enough-for-first-alloc to bytecodealliance:main:

When we haven't added enough capacity such that it is greater than or equal to our alignment, we were triggering a debug assertion and would get integer overflow and a corrupted free list in release builds. Note that, due to our GC heap sandboxing, this couldn't lead to anything worse than a panic/abort.

<!--
Please make sure you include the following information:

Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.html

Please ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->

view this post on Zulip Wasmtime GitHub notifications bot (Apr 15 2025 at 20:16):

fitzgen requested pchickey for a review on PR #10589.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 15 2025 at 20:16):

fitzgen requested wasmtime-core-reviewers for a review on PR #10589.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 15 2025 at 20:19):

pchickey submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 15 2025 at 20:21):

fitzgen has enabled auto merge for PR #10589.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 15 2025 at 21:00):

fitzgen merged PR #10589.


Last updated: Dec 06 2025 at 06:05 UTC