From 514626a0ab766655512bf0f37f3f009942b7f883 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Sat, 4 Mar 2023 21:26:12 +0100 Subject: [PATCH] init array --- client/src/cmdlfem4x50.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/cmdlfem4x50.c b/client/src/cmdlfem4x50.c index 3bed45d1d..9b5bac06b 100644 --- a/client/src/cmdlfem4x50.c +++ b/client/src/cmdlfem4x50.c @@ -555,7 +555,7 @@ int em4x50_read(em4x50_data_t *etd, em4x50_word_t *out) { return PM3_ESOFT; uint8_t *data = resp.data.asBytes; - em4x50_word_t words[EM4X50_NO_WORDS]; + em4x50_word_t words[EM4X50_NO_WORDS] = {0}; prepare_result(data, etd->addresses & 0xFF, (etd->addresses >> 8) & 0xFF, words); if (out != NULL)