diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2025-07-02 13:58:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-02 13:58:41 +0200 |
commit | 8e51d38ab69b8da3c803e12c0579203578fc0d41 (patch) | |
tree | 35638a2b1af98dcac08a5a1d3aba06b97354a81b | |
parent | 49b6e4db0cfc2bdb4c4151030618981c2fc0795b (diff) | |
download | libuv-main.tar.gz libuv-main.zip |
Refs: https://github.com/libuv/libuv/security/advisories/GHSA-qf6p-jg38-9f4x#advisory-comment-131127
-rw-r--r-- | src/win/fs.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/win/fs.c b/src/win/fs.c index 27248f64..fb1a5844 100644 --- a/src/win/fs.c +++ b/src/win/fs.c @@ -1946,7 +1946,6 @@ INLINE static void fs__stat_assign_statbuf(uv_stat_t* statbuf, INLINE static void fs__stat_prepare_path(WCHAR* pathw) { size_t len = wcslen(pathw); - /* TODO: ignore namespaced paths. */ if (len > 1 && pathw[len - 2] != L':' && (pathw[len - 1] == L'\\' || pathw[len - 1] == L'/')) { pathw[len - 1] = '\0'; |