added bounds checking for when the proxmark3 is simulating a ISO14443a tag

This commit is contained in:
iceman1001 2024-09-05 18:38:17 +02:00
commit 7a4bd03cc0
11 changed files with 55 additions and 47 deletions

View file

@ -80,7 +80,7 @@ void RAMFUNC SniffMifare(uint8_t param) {
Demod14aInit(receivedResp, receivedRespPar);
// Set up the demodulator for the reader -> tag commands
Uart14aInit(receivedCmd, receivedCmdPar);
Uart14aInit(receivedCmd, sizeof(receivedCmd), receivedCmdPar);
// Setup and start DMA.
// set transfer address and number of bytes. Start transfer.