mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 21:33:47 -07:00
FIX: if receiving array isnt large enough, previously this will smash the stack..
This commit is contained in:
parent
bb916aa999
commit
b89b3399dc
6 changed files with 57 additions and 26 deletions
|
@ -422,7 +422,7 @@ int CmdIndalaClone(const char *Cmd) {
|
|||
UsbCommand c;
|
||||
uint32_t uid1, uid2, uid3, uid4, uid5, uid6, uid7;
|
||||
uid1 = uid2 = uid3 = uid4 = uid5 = uid6 = uid7 = 0;
|
||||
int n = 0, i = 0;
|
||||
uint32_t n = 0, i = 0;
|
||||
|
||||
if (strchr(Cmd,'l') != 0) {
|
||||
while (sscanf(&Cmd[i++], "%1x", &n ) == 1) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue