Folders: Do not escape the variable cpath_real to prevent certain OpenCL runtimes from running into an error which do not support escape characters
This commit is contained in:
+3
-7
@@ -507,17 +507,13 @@ int folder_config_init (hashcat_ctx_t *hashcat_ctx, MAYBE_UNUSED const char *ins
|
||||
}
|
||||
*/
|
||||
|
||||
// not escaping here, using quotes later
|
||||
// naive_escape (cpath_real, PATH_MAX, ' ', '\\');
|
||||
|
||||
#if defined (_WIN)
|
||||
|
||||
naive_replace (cpath_real, '\\', '/');
|
||||
|
||||
// not escaping here, windows using quotes later
|
||||
// naive_escape (cpath_real, PATH_MAX, ' ', '\\');
|
||||
|
||||
#else
|
||||
|
||||
naive_escape (cpath_real, PATH_MAX, ' ', '\\');
|
||||
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user