From 86795123858649323f8eba21746b72652a221742 Mon Sep 17 00:00:00 2001 From: jsteube Date: Fri, 29 Sep 2023 08:11:20 +0000 Subject: [PATCH] Fix some ordering in hashcat_init() --- src/hashcat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hashcat.c b/src/hashcat.c index 54f329ace..77db34285 100644 --- a/src/hashcat.c +++ b/src/hashcat.c @@ -1063,8 +1063,8 @@ int hashcat_init (hashcat_ctx_t *hashcat_ctx, void (*event) (const u32, struct h hashcat_ctx->event = event; } - hashcat_ctx->brain_ctx = (brain_ctx_t *) hcmalloc (sizeof (brain_ctx_t)); hashcat_ctx->bitmap_ctx = (bitmap_ctx_t *) hcmalloc (sizeof (bitmap_ctx_t)); + hashcat_ctx->brain_ctx = (brain_ctx_t *) hcmalloc (sizeof (brain_ctx_t)); hashcat_ctx->combinator_ctx = (combinator_ctx_t *) hcmalloc (sizeof (combinator_ctx_t)); hashcat_ctx->cpt_ctx = (cpt_ctx_t *) hcmalloc (sizeof (cpt_ctx_t)); hashcat_ctx->debugfile_ctx = (debugfile_ctx_t *) hcmalloc (sizeof (debugfile_ctx_t));