mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-05-12 11:18:11 -07:00
fix a potential overflow
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user