mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-07 16:48:15 +08:00
FIX: 'hf mf sniff' - possible mf frame sizes for Desfire is 256 or more
This commit is contained in:
parent
4e1d6072d2
commit
706287619a
1 changed files with 2 additions and 2 deletions
|
@ -659,12 +659,12 @@ int mfTraceDecode(uint8_t *data_src, int len, bool wantSaveToEmlFile) {
|
|||
|
||||
if (traceState == TRACE_ERROR) return 1;
|
||||
|
||||
if (len > 64) {
|
||||
if (len > 255) {
|
||||
traceState = TRACE_ERROR;
|
||||
return 1;
|
||||
}
|
||||
|
||||
uint8_t data[64];
|
||||
uint8_t data[255];
|
||||
memset(data, 0x00, sizeof(data));
|
||||
|
||||
memcpy(data, data_src, len);
|
||||
|
|
Loading…
Reference in a new issue