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

This commit is contained in:
iceman1001 committed 2016-08-03 00:25:53 +02:00
1 parent fd9212e183
commit 3e82f956d8
1 file changed
+1 -1
+1 -1
View File
@@ -1572,7 +1572,7 @@ static void CodeAndTransmitLegicAsReader(const uint8_t *cmd, uint8_t cmdlen, int
TransmitForLegic();
if (tracing) {
uint8_t parity[1] = {0x00};
LogTrace(cmd, bits, 0, 0, parity, TRUE);
LogTrace(cmd, cmdlen, 0, 0, parity, TRUE);
}
}