From b6804aa34d4261d36721501a7d6a86bfd42790c6 Mon Sep 17 00:00:00 2001 From: Chick3nman Date: Wed, 5 Jul 2023 01:21:54 -0500 Subject: [PATCH] Add suggested memset --- src/modules/module_31500.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/module_31500.c b/src/modules/module_31500.c index 1ca0a63a6..26ec4d0f3 100644 --- a/src/modules/module_31500.c +++ b/src/modules/module_31500.c @@ -68,6 +68,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 = 2; token.sep[0] = hashconfig->separator;