mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-13 10:43:01 +08:00
fix crash in client when no buffer is loaded
This commit is contained in:
parent
49209d37da
commit
f81c82c342
1 changed files with 1 additions and 1 deletions
|
@ -331,7 +331,7 @@ static void CmdEM4x50read(char *str)
|
|||
|
||||
/* skip over the remainder of the LW */
|
||||
skip += tmpbuff[i+1]+tmpbuff[i+2];
|
||||
while(GraphBuffer[skip] > low)
|
||||
while(skip < MAX_GRAPH_TRACE_LEN && GraphBuffer[skip] > low)
|
||||
++skip;
|
||||
skip += 8;
|
||||
|
||||
|
|
Loading…
Reference in a new issue