mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-02 21:54:10 +08:00
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:
parent
5fe0a11dfe
commit
34c81fe01c
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue