From 2e32eaf2bb90210ef6704fa23c550f5a173cc6c9 Mon Sep 17 00:00:00 2001 From: Jens Steube Date: Wed, 26 Jun 2019 15:52:11 +0200 Subject: [PATCH] Fix printing from NULL pointer address --- src/folder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/folder.c b/src/folder.c index 003132383..27b4837cb 100644 --- a/src/folder.c +++ b/src/folder.c @@ -329,7 +329,7 @@ int folder_config_init (hashcat_ctx_t *hashcat_ctx, MAYBE_UNUSED const char *ins 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);