mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-10 02:04:39 +08:00
FIX: COverityScan 133865, out-of-bounds access, Forgot that bits is not used in Logtrace but bytes.
This commit is contained in:
parent
fd9212e183
commit
3e82f956d8
1 changed files with 1 additions and 1 deletions
|
@ -1572,7 +1572,7 @@ static void CodeAndTransmitLegicAsReader(const uint8_t *cmd, uint8_t cmdlen, int
|
||||||
TransmitForLegic();
|
TransmitForLegic();
|
||||||
if (tracing) {
|
if (tracing) {
|
||||||
uint8_t parity[1] = {0x00};
|
uint8_t parity[1] = {0x00};
|
||||||
LogTrace(cmd, bits, 0, 0, parity, TRUE);
|
LogTrace(cmd, cmdlen, 0, 0, parity, TRUE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue