mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-14 02:26:59 -07:00
Fixed several issues found using a coverity-scan
This commit is contained in:
parent
77dfaa26db
commit
90e278d3da
9 changed files with 30 additions and 19 deletions
|
@ -319,7 +319,7 @@ int CmdEM4x50Read(const char *Cmd)
|
|||
++i;
|
||||
while ((GraphBuffer[i] > low) && (i<GraphTraceLen))
|
||||
++i;
|
||||
if (j>(MAX_GRAPH_TRACE_LEN/64)) {
|
||||
if (j>=(MAX_GRAPH_TRACE_LEN/64)) {
|
||||
break;
|
||||
}
|
||||
tmpbuff[j++]= i - start;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue