fix CID# 405674 - array uninitialized
This commit is contained in:
1 parent
e1d90b3de2
commit
97dced62f4
1 file changed
+2
@@ -1905,6 +1905,8 @@ void MifareChkKeys(uint8_t *datain, uint8_t reserved_mem) {
|
||||
bool found;
|
||||
} PACKED keyresult;
|
||||
keyresult.found = false;
|
||||
memset(keyresult.key, 0x00, sizeof(keyresult.key));
|
||||
|
||||
bool have_uid = false;
|
||||
|
||||
uint8_t keyType = datain[0];
|
||||
|
||||
Reference in new issue
Block a user