Stream: git-wasmtime

Topic: wasmtime / PR #11702 Fix a missing outparam write in the ...


view this post on Zulip Wasmtime GitHub notifications bot (Sep 16 2025 at 19:02):

alexcrichton opened PR #11702 from alexcrichton:fix-p1-loop to bytecodealliance:main:

This fixes an issue found through #11701, notably the "release mode infinite loops" behavior that was seen. The cause was when fd_readdir returned after skipping all directory entries it forgot to write the final *bufused = 0 out-param in the early-exit, unlike the end of the function which already sets this.

<!--
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 (Sep 16 2025 at 19:02):

alexcrichton requested wasmtime-wasi-reviewers for a review on PR #11702.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 16 2025 at 19:02):

alexcrichton requested fitzgen for a review on PR #11702.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 16 2025 at 19:02):

alexcrichton requested wasmtime-core-reviewers for a review on PR #11702.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 16 2025 at 19:24):

pchickey submitted PR review:

Great find

view this post on Zulip Wasmtime GitHub notifications bot (Sep 16 2025 at 19:48):

alexcrichton merged PR #11702.


Last updated: Dec 06 2025 at 06:05 UTC