mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-23 16:38:04 +08:00
fix -Wstringop-overread error
We are reading this 26 bytes into a 32 byte buffer, is this even any worse? Fixes: https://github.com/RfidResearchGroup/proxmark3/issues/2060
This commit is contained in:
parent
9e8adce7a9
commit
6b648396e7
1 changed files with 1 additions and 1 deletions
|
@ -787,7 +787,7 @@ int mfStaticNested(uint8_t blockNo, uint8_t keyType, uint8_t *key, uint8_t trgBl
|
|||
p_keyblock = mem;
|
||||
}
|
||||
|
||||
uint8_t fn[26] = "static_nested_000.bin";
|
||||
uint8_t fn[32] = "static_nested_000.bin";
|
||||
|
||||
uint64_t start_time = msclock();
|
||||
for (uint32_t i = 0; i < keycnt; i += max_keys_chunk) {
|
||||
|
|
Loading…
Reference in a new issue