fdPrestatGet
contains a hack for null-terminated strings
#1818
Labels
fdPrestatGet
contains a hack for null-terminated strings
#1818
Due to a bug in uvwasi, wasm runtimes that use it for their wasi implementations return a null-terminated string from
fd_prestat_get
, including the null terminator in the length. We have a hack that detects this and manually updates the length of the string. This should be removed when this is patched in uvwasi. See nodejs/uvwasi#202 for tracking.The text was updated successfully, but these errors were encountered: