Fedor Indutny
b9d3f15265
fix: crash on windows when UTF-8 is in path ( #48898 )
...
In 6399527761 we changed the path strings
that `node_modules.cc` operates on from single-byte to wide strings.
Unfortunately this means that `generic_path()` that the
"fix: ensure TraverseParent bails on resource path exit" patch was
calling was no longer a safe method to call on Windows if the underlying
string has unicode characters in it.
Here we fix it by using `ConvertGenericPathToUTF8` from the Node.js
internal utilities.
2025-11-13 19:09:34 +01:00
..
2025-11-13 19:09:34 +01:00
2025-11-07 10:13:45 -05:00
2025-11-07 10:13:45 -05:00
2025-11-13 19:09:34 +01:00
2025-10-30 19:16:48 +01:00
2025-10-30 19:16:48 +01:00
2025-10-30 19:16:48 +01:00
2025-10-30 19:16:48 +01:00
2025-10-30 19:16:48 +01:00
2025-10-30 19:16:48 +01:00
2025-10-30 19:16:48 +01:00
2025-10-30 19:16:48 +01:00
2025-08-04 14:40:36 -04:00
2025-10-30 19:16:48 +01:00
2025-10-30 19:16:48 +01:00
2025-10-30 19:16:48 +01:00
2025-06-02 17:30:15 -04:00
2025-10-30 19:16:48 +01:00
2025-10-30 19:16:48 +01:00
2025-06-28 16:33:09 +02:00
2025-10-30 19:16:48 +01:00
2025-10-30 19:16:48 +01:00
2025-10-30 19:16:48 +01:00
2025-10-30 19:16:48 +01:00
2025-10-30 19:16:48 +01:00
2025-07-21 09:32:53 -07:00
2025-10-30 19:16:48 +01:00
2025-10-30 19:16:48 +01:00
2025-10-30 19:16:48 +01:00
2025-10-30 19:16:48 +01:00
2025-11-13 19:09:34 +01:00
2025-11-13 19:09:34 +01:00
2025-10-30 19:16:48 +01:00
2025-10-30 19:16:48 +01:00
2025-10-30 19:16:48 +01:00
2025-10-30 19:16:48 +01:00
2025-10-30 19:16:48 +01:00
2025-10-30 19:16:48 +01:00
2025-10-30 19:16:48 +01:00
2025-10-30 19:16:48 +01:00
2025-10-30 19:16:48 +01:00
2025-11-10 13:27:35 +01:00
2025-11-13 19:09:34 +01:00
2025-10-30 19:16:48 +01:00
2025-10-30 19:16:48 +01:00
2025-10-30 19:16:48 +01:00