mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-10 18:24:27 +08:00
commit
c3ba6bad3d
1 changed files with 1 additions and 1 deletions
|
@ -279,7 +279,7 @@ int mfCheckKeys_file(uint8_t *destfn, uint64_t *key) {
|
|||
uint8_t filename[32];
|
||||
} PACKED payload_file;
|
||||
|
||||
strncpy((char*)payload_file.filename, (char*)destfn, sizeof(payload_file.filename));
|
||||
memcpy(payload_file.filename, destfn, sizeof(payload_file.filename) - 1);
|
||||
|
||||
PacketResponseNG resp;
|
||||
clearCommandBuffer();
|
||||
|
|
Loading…
Reference in a new issue