mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 05:13:46 -07:00
Fix data shiftgraphzero corrupting end of GraphBuffer
This commit is contained in:
parent
993728072a
commit
15f0fef555
1 changed files with 1 additions and 4 deletions
|
@ -928,9 +928,6 @@ static int CmdGraphShiftZero(const char *Cmd) {
|
|||
sscanf(Cmd, "%i", &shift);
|
||||
|
||||
for (size_t i = 0; i < GraphTraceLen; i++) {
|
||||
if (i + shift >= GraphTraceLen)
|
||||
shiftedVal = GraphBuffer[i];
|
||||
else
|
||||
shiftedVal = GraphBuffer[i] + shift;
|
||||
|
||||
if (shiftedVal > 127)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue