FIX: COverityScan 133865, out-of-bounds access, Forgot that bits is not used in Logtrace but bytes.

This commit is contained in:
iceman1001 2016-08-03 00:25:53 +02:00
parent fd9212e183
commit 3e82f956d8

View file

@ -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);
} }
} }