mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
fix a potential overflow
This commit is contained in:
parent
3b9423fc12
commit
8b2279dd05
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ typedef struct {
|
|||
//uint8_t foundKey[2];
|
||||
} icesector_t;
|
||||
|
||||
#define KEYS_IN_BLOCK ((PM3_CMD_DATA_SIZE - 4) / 6)
|
||||
#define KEYS_IN_BLOCK ((PM3_CMD_DATA_SIZE - 5) / 6)
|
||||
#define KEYBLOCK_SIZE (KEYS_IN_BLOCK * 6)
|
||||
#define CANDIDATE_SIZE (0xFFFF * 6)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue