deps: update uvwasi to 0.0.17

PR-URL: https://github.com/nodejs/node/pull/47866
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Mestery <mestery@protonmail.com>
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
Node.js GitHub Bot authored and Michaël Zasso committed 2023-05-30 11:36:16 +02:00
1 parent 1e3e7c9f33
commit 443477e041
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ extern "C" {
#define UVWASI_VERSION_MAJOR 0
#define UVWASI_VERSION_MINOR 0
#define UVWASI_VERSION_PATCH 16
#define UVWASI_VERSION_PATCH 17
#define UVWASI_VERSION_HEX ((UVWASI_VERSION_MAJOR << 16) | \
(UVWASI_VERSION_MINOR << 8) | \
(UVWASI_VERSION_PATCH))
+2 -2
View File
@@ -1122,7 +1122,7 @@ uvwasi_errno_t uvwasi_fd_prestat_get(uvwasi_t* uvwasi,
}
buf->pr_type = UVWASI_PREOPENTYPE_DIR;
buf->u.dir.pr_name_len = strlen(wrap->path) + 1;
buf->u.dir.pr_name_len = strlen(wrap->path);
err = UVWASI_ESUCCESS;
exit:
uv_mutex_unlock(&wrap->mutex);
@@ -1156,7 +1156,7 @@ uvwasi_errno_t uvwasi_fd_prestat_dir_name(uvwasi_t* uvwasi,
goto exit;
}
size = strlen(wrap->path) + 1;
size = strlen(wrap->path);
if (size > (size_t) path_len) {
err = UVWASI_ENOBUFS;
goto exit;