mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-28 02:50:21 +08:00
FIX: array-out-of-bounds
This commit is contained in:
parent
a13ecc4a4e
commit
c1b4411268
1 changed files with 2 additions and 2 deletions
|
@ -424,9 +424,9 @@ int CmdAnalyseA(const char *Cmd){
|
|||
star[0] = '-';
|
||||
star[1] = '\\';
|
||||
star[2] = '|';
|
||||
star[4] = '/';
|
||||
star[3] = '/';
|
||||
|
||||
for (uint8_t k=0; k<5; k = (k+1) % 4 ) {
|
||||
for (uint8_t k=0; k<4; k = (k+1) % 4 ) {
|
||||
printf("\e[s%c\e[u", star[k]);
|
||||
fflush(stdout);
|
||||
if (ukbhit()) {
|
||||
|
|
Loading…
Reference in a new issue