From b5f5591b1a19313e7fdd80e878e7f682811bad9a Mon Sep 17 00:00:00 2001 From: Christopher Schmitt Date: Thu, 18 May 2017 10:36:14 -0400 Subject: [PATCH] main_monitor_status_refresh shouldnt call status_display if status_ctx is not accessible --- src/main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.c b/src/main.c index 615848c42..10a8dd6c0 100644 --- a/src/main.c +++ b/src/main.c @@ -717,6 +717,9 @@ static void main_monitor_status_refresh (MAYBE_UNUSED hashcat_ctx_t *hashcat_ctx { const user_options_t *user_options = hashcat_ctx->user_options; const user_options_extra_t *user_options_extra = hashcat_ctx->user_options_extra; + const status_ctx_t *status_ctx = hashcat_ctx->status_ctx; + + if (status_ctx->accessible == false) return; if ((user_options_extra->wordlist_mode == WL_MODE_FILE) || (user_options_extra->wordlist_mode == WL_MODE_MASK)) {