mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-15 19:59:34 +08:00
FIX: forgot a LEN in print message.
This commit is contained in:
parent
1daa1226fd
commit
e1a0ed65ff
1 changed files with 2 additions and 2 deletions
|
@ -400,7 +400,7 @@ int CmdLegicRFRead(const char *Cmd) {
|
||||||
// OUT-OF-BOUNDS check
|
// OUT-OF-BOUNDS check
|
||||||
if ( len + offset > MAX_LENGTH ) {
|
if ( len + offset > MAX_LENGTH ) {
|
||||||
len = MAX_LENGTH - offset;
|
len = MAX_LENGTH - offset;
|
||||||
PrintAndLog("Out-of-bound, shorten len to %d (0x%02X)", len);
|
PrintAndLog("Out-of-bound, shorten len to %d (0x%02X)", len, len);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( (IV & 0x7F) != IV ){
|
if ( (IV & 0x7F) != IV ){
|
||||||
|
@ -614,7 +614,7 @@ int CmdLegicRfWrite(const char *Cmd) {
|
||||||
// OUT-OF-BOUNDS check
|
// OUT-OF-BOUNDS check
|
||||||
if ( len + offset > MAX_LENGTH ) {
|
if ( len + offset > MAX_LENGTH ) {
|
||||||
len = MAX_LENGTH - offset;
|
len = MAX_LENGTH - offset;
|
||||||
PrintAndLog("Out-of-bound, shorten len to %d (0x%02X)", len);
|
PrintAndLog("Out-of-bound, shorten len to %d (0x%02X)", len, len);
|
||||||
}
|
}
|
||||||
if ( (IV & 0x7F) != IV ){
|
if ( (IV & 0x7F) != IV ){
|
||||||
IV &= 0x7F;
|
IV &= 0x7F;
|
||||||
|
|
Loading…
Reference in a new issue