mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-29 03:17:59 +08:00
Fixed buffer corruption in iso1443a_select_card, affecting several operations, e.g. hf mf mifare and probably a few more
This commit is contained in:
parent
ed258538da
commit
ea73261dc6
1 changed files with 1 additions and 1 deletions
|
@ -1625,7 +1625,7 @@ int iso14443a_select_card(byte_t* uid_ptr, iso14a_card_select_t* p_hi14a_card, u
|
|||
|
||||
// clear uid
|
||||
if (uid_ptr) {
|
||||
memset(uid_ptr,0,10);
|
||||
memset(uid_ptr,0,8);
|
||||
}
|
||||
|
||||
// OK we will select at least at cascade 1, lets see if first byte of UID was 0x88 in
|
||||
|
|
Loading…
Reference in a new issue