mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
coverity fix
This commit is contained in:
parent
b6e85c865d
commit
95b48f25ef
1 changed files with 1 additions and 1 deletions
|
@ -2040,7 +2040,7 @@ void T55xx_ChkPwds(uint8_t flags) {
|
||||||
if (isok != sizeof(counter))
|
if (isok != sizeof(counter))
|
||||||
goto OUT;
|
goto OUT;
|
||||||
|
|
||||||
pwdCount = counter[1] << 8 | counter[0];
|
pwdCount = (uint16_t)(counter[1] << 8 | counter[0]);
|
||||||
|
|
||||||
if (pwdCount == 0 || pwdCount == 0xFFFF)
|
if (pwdCount == 0 || pwdCount == 0xFFFF)
|
||||||
goto OUT;
|
goto OUT;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue