mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 22:03:42 -07:00
Merge pull request #1922 from DidierA/fix_cmdlist
bugfix: wrong text in hf mfdes list when no data exists in trace
This commit is contained in:
commit
0f4d6492f7
1 changed files with 1 additions and 1 deletions
|
@ -898,7 +898,7 @@ void annotateMfDesfire(char *exp, size_t size, uint8_t *cmd, uint8_t cmdsize) {
|
|||
snprintf(exp, size, "R-block NACK(%d)", (cmd[0] & 0x01));
|
||||
}
|
||||
// I-block 000xCN1x
|
||||
else if ((cmd[0] & 0xC0) == 0x00) {
|
||||
else if (((cmd[0] & 0xC0) == 0x00) && (cmdsize > 2)) {
|
||||
|
||||
// PCB [CID] [NAD] [INF] CRC CRC
|
||||
int pos = 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue