Fedor Indutny
1936243ce1
fix: crash on windows when UTF-8 is in path ( #48944 )
...
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 13:56:30 -08:00
..
2025-11-13 13:56:30 -08:00
2025-10-08 11:53:55 -04:00
2025-11-13 13:56:30 -08:00
2025-10-08 11:53:55 -04:00
2025-08-04 14:40:36 -04:00
2025-10-30 09:37:51 -04:00
2025-10-08 11:53:55 -04:00
2025-10-30 09:37:51 -04:00
2025-10-08 11:53:55 -04:00
2025-10-08 11:53:55 -04:00
2025-10-08 11:53:55 -04:00
2025-02-28 17:29:23 -05:00
2025-07-22 16:09:47 -07:00
2025-10-30 09:37:51 -04:00
2025-08-04 14:40:36 -04:00
2025-09-08 17:08:42 -04:00
2025-10-30 09:37:51 -04:00
2025-06-02 17:30:15 -04:00
2025-10-30 09:37:51 -04:00
2025-10-30 09:37:51 -04:00
2025-10-08 11:53:55 -04:00
2025-06-28 16:33:09 +02:00
2025-06-28 16:33:09 +02:00
2025-10-08 11:53:55 -04:00
2025-10-08 11:53:55 -04:00
2025-02-25 15:16:15 -05:00
2025-10-30 09:37:51 -04:00
2025-07-21 09:32:53 -07:00
2025-10-30 09:37:51 -04:00
2025-09-08 09:48:49 +02:00
2025-10-08 11:53:55 -04:00
2025-11-13 13:56:30 -08:00
2025-11-13 13:56:30 -08:00
2025-10-30 09:37:51 -04:00
2025-10-30 09:37:51 -04:00
2025-10-08 11:53:55 -04:00
2025-10-14 11:25:30 -04:00
2025-10-30 09:37:51 -04:00
2025-10-30 09:37:51 -04:00
2025-10-30 09:37:51 -04:00
2025-10-30 09:37:51 -04:00
2025-04-03 19:02:49 -05:00
2025-09-08 09:48:49 +02:00
2025-09-08 09:48:49 +02:00
2025-10-30 09:37:51 -04:00
2025-10-08 11:53:55 -04:00
2025-10-30 09:37:51 -04:00
2025-10-30 09:37:51 -04:00
2025-10-30 09:37:51 -04:00
2025-11-13 13:56:30 -08:00
2025-10-30 09:37:51 -04:00
2025-08-11 12:57:31 +09:00
2025-10-30 09:37:51 -04:00
2025-01-23 23:07:43 -05:00
2024-11-13 15:34:30 +01:00
2025-09-08 09:48:49 +02:00