mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 22:03:42 -07:00
FIX: 'standalone mode colinrun' - buffer overrun (thanks @angelsl)
1aa974fc70
This commit is contained in:
parent
73230c8d15
commit
bac3ad077e
1 changed files with 2 additions and 2 deletions
|
@ -469,8 +469,8 @@ failtag:
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* BRACE YOURSELF : AS LONG AS WE TRAP A KNOWN KEY, WE STOP CHECKING AND ENFORCE KNOWN SCHEMES */
|
/* BRACE YOURSELF : AS LONG AS WE TRAP A KNOWN KEY, WE STOP CHECKING AND ENFORCE KNOWN SCHEMES */
|
||||||
// uint8_t tosendkey[12];
|
// uint8_t tosendkey[13];
|
||||||
char tosendkey[12];
|
char tosendkey[13];
|
||||||
num_to_bytes(key64, 6, foundKey[type][sec]);
|
num_to_bytes(key64, 6, foundKey[type][sec]);
|
||||||
cjSetCursRight();
|
cjSetCursRight();
|
||||||
DbprintfEx(FLAG_NOLOG, "SEC: %02x ; KEY : %012" PRIx64 " ; TYP: %i", sec, key64, type);
|
DbprintfEx(FLAG_NOLOG, "SEC: %02x ; KEY : %012" PRIx64 " ; TYP: %i", sec, key64, type);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue