mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-05-12 11:18:11 -07:00
fix CID# 405674 - array uninitialized
This commit is contained in:
@@ -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