FIX. COVERITYscan 133860, initialize to zero. This function is still not working but at least now it doesnt crash the client.

This commit is contained in:
iceman1001 2016-08-03 00:13:33 +02:00
parent 5fe0a11dfe
commit 34c81fe01c

View file

@ -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;