mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-13 19:49:57 +08:00
coverity 303144
This commit is contained in:
parent
4b8117cdb2
commit
a77ce27a68
1 changed files with 1 additions and 1 deletions
|
@ -1369,7 +1369,7 @@ static int handle_14b_apdu(bool chainingin, uint8_t *datain, int datainlen, bool
|
|||
}
|
||||
|
||||
// check apdu length
|
||||
if (rlen == 0 && rlen == 1) {
|
||||
if (rlen == 0 || rlen == 1) {
|
||||
PrintAndLogEx(ERR, "APDU: Small APDU response. Len=%d", rlen);
|
||||
return PM3_ESOFT;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue