diff --git a/client/cmdlfhid.c b/client/cmdlfhid.c index b9d3ace32..9b13b509f 100644 --- a/client/cmdlfhid.c +++ b/client/cmdlfhid.c @@ -319,7 +319,8 @@ int CmdHIDWiegand(const char *Cmd) { uint32_t oem = 0, fc = 0; uint64_t cardnum = 0; - uint32_t blocks[2], wiegand[2]; + uint32_t blocks[2] = {0,0} + uint32_t wiegand[2] = {0,0}; uint8_t bits[96]; uint8_t *bs = bits;