From 4c93eb4cc5f568eb111361d8629e929286f68435 Mon Sep 17 00:00:00 2001 From: Chick3nman Date: Wed, 5 Jul 2023 01:24:40 -0500 Subject: [PATCH] Add suggested memset --- src/modules/module_31600.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/module_31600.c b/src/modules/module_31600.c index 60b277979..dbc87e485 100644 --- a/src/modules/module_31600.c +++ b/src/modules/module_31600.c @@ -69,6 +69,8 @@ int module_hash_decode (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSE hc_token_t token; + memset (&token, 0, sizeof (hc_token_t)); + token.token_cnt = 4; token.signatures_cnt = 1;