You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Zero-length stream copies within one component instance trap for non-numeric payloads #753
$ wasmtime wast foo.wast
Error: failed to run script file 'foo.wast'
Caused by:
0: failed directive on foo.wast:39
1: error while executing at wasm backtrace:
0: 0x282 - wasm-function[3]
at foo.wast:29:8
2: cannot read from and write to intra-component future/stream with non-numeric payload
I wanted to flag this as a possible update to the specification (similar to #750 perhaps) where subjectively I'd expect this to unconditionally fail regardless of the lengths in play, but I may also be showing my biases from #750 too.
Activity
CABI: check ptr bounds for zero-length reads/writes
lukewagner commentedon Oct 23, 2026
Makes sense, I think the irregularity here was just an oversight; included in #755.