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
This commit adds a check when resolving path such that any null bytes in
the input path causes errno `inval`. This is consistent with other
runtimes like Wasmtime, Wasmer, Wazero, WasmEdge, and WAMR.
fixesnodejs#265
Signed-off-by: Yage Hu <me@huyage.dev>
This commit adds a check when resolving path such that any null bytes in
the input path causes errno `inval`. This is consistent with other
runtimes like Wasmtime, Wasmer, Wazero, WasmEdge, and WAMR.
fixes#265
Signed-off-by: Yage Hu <me@huyage.dev>
Calling
path_open
in uvwasi with a path that contains null byte does not error. Here's an example:This Rust example depends on
wasi
crate v0.11.On other runtimes, this example fails with
inval
. But Node succeeds, creating a file with a 2-byte filename.The text was updated successfully, but these errors were encountered: