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:
Rick Farina (Zero_Chaos) 2023-07-31 23:33:36 -04:00
parent 9e8adce7a9
commit 6b648396e7
No known key found for this signature in database
GPG key ID: A29433C0AA431DDC

View file

@ -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) {