From: iceman1001 Date: Tue, 2 Aug 2016 22:25:53 +0000 (+0200) Subject: FIX: COverityScan 133865, out-of-bounds access, Forgot that bits is not used in... X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/3e82f956d834faf9e78d9c3c2fccfb98d8041bcb?hp=fd9212e183dd20a1693f1e722a49e91d95f912a5 FIX: COverityScan 133865, out-of-bounds access, Forgot that bits is not used in Logtrace but bytes. --- diff --git a/armsrc/legicrf.c b/armsrc/legicrf.c index c732ee14..0f886656 100644 --- a/armsrc/legicrf.c +++ b/armsrc/legicrf.c @@ -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); } }