Stream: git-wasmtime

Topic: wasmtime / PR #14077 Fix stdin over-read on seekable inputs


view this post on Zulip Wasmtime GitHub notifications bot (Aug 04 2026 at 14:19):

subotac opened PR #14077 from subotac:fix/stdin-over-read to bytecodealliance:main:

Fixes #14065.

Avoid using std::io::Stdin's process-global buffer in the stdin worker because it can advance redirected seekable input beyond the number of bytes requested by a guest.

Use unbuffered OS reads on Unix and non-console Windows input while retaining StdinLock to preserve serialization with other process users. Add a subprocess regression test that reads one byte and verifies that the
shared file offset advances by exactly one byte.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 04 2026 at 14:19):

subotac requested dicej for a review on PR #14077.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 04 2026 at 14:19):

subotac requested wasmtime-wasi-reviewers for a review on PR #14077.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 04 2026 at 15:31):

github-actions[bot] added the label wasi on PR #14077.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 05 2026 at 19:36):

:thumbs_up: pchickey submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 05 2026 at 19:36):

pchickey added PR #14077 Fix stdin over-read on seekable inputs to the merge queue.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 05 2026 at 20:49):

:check: pchickey merged PR #14077.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 05 2026 at 20:49):

pchickey removed PR #14077 Fix stdin over-read on seekable inputs from the merge queue.


Last updated: Aug 30 2026 at 09:07 UTC