mirror of
https://github.com/hashcat/hashcat.git
synced 2024-12-23 07:08:19 +00:00
Fix printing from NULL pointer address
This commit is contained in:
parent
32cb191837
commit
2e32eaf2bb
@ -329,7 +329,7 @@ int folder_config_init (hashcat_ctx_t *hashcat_ctx, MAYBE_UNUSED const char *ins
|
|||||||
|
|
||||||
if (resolved_exec_path == NULL)
|
if (resolved_exec_path == NULL)
|
||||||
{
|
{
|
||||||
event_log_error (hashcat_ctx, "%s: %s", resolved_exec_path, strerror (errno));
|
event_log_error (hashcat_ctx, "%s: %s", exec_path, strerror (errno));
|
||||||
|
|
||||||
hcfree (cwd);
|
hcfree (cwd);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user