From 5d4fd047ee6396fb17761d3438219521aa71e289 Mon Sep 17 00:00:00 2001 From: Gabriele Gristina Date: Fri, 12 Jul 2019 20:20:05 +0200 Subject: [PATCH] fix bug in mpsp --- src/mpsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mpsp.c b/src/mpsp.c index 0fce4d5fb..89a1b41e4 100644 --- a/src/mpsp.c +++ b/src/mpsp.c @@ -1232,7 +1232,7 @@ int mask_ctx_update_loop (hashcat_ctx_t *hashcat_ctx) sp_tbl_to_css (mask_ctx->root_table_buf, mask_ctx->markov_table_buf, mask_ctx->root_css_buf, mask_ctx->markov_css_buf, user_options->markov_threshold, uniq_tbls); - if (sp_get_sum (0, mask_ctx->css_cnt, mask_ctx->root_css_buf, &combinator_ctx->combs_cnt) == -1) return -1; + if (sp_get_sum (0, mask_ctx->css_cnt, mask_ctx->root_css_buf, &combinator_ctx->combs_cnt) == -1) { event_log_error (hashcat_ctx, "Integer overflow detected in keyspace of mask: %s", mask_ctx->mask);