mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-12-28 19:31:19 +08:00
cppchecker - buffer overflow
This commit is contained in:
parent
a24c7334cf
commit
20547d773b
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ void MifareDesfireGetInformation() {
|
|||
return;
|
||||
}
|
||||
// add uid.
|
||||
memcpy(payload.uid, card.uid, sizeof(card.uid));
|
||||
memcpy(payload.uid, card.uid, sizeof(payload.uid));
|
||||
|
||||
LED_A_ON();
|
||||
uint8_t cmd[] = {GET_VERSION, 0x00, 0x00, 0x00};
|
||||
|
|
Loading…
Reference in a new issue