]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
FIX: COverityScan 133865, out-of-bounds access, Forgot that bits is not used in...
authoriceman1001 <iceman@iuse.se>
Tue, 2 Aug 2016 22:25:53 +0000 (00:25 +0200)
committericeman1001 <iceman@iuse.se>
Tue, 2 Aug 2016 22:25:53 +0000 (00:25 +0200)
armsrc/legicrf.c

index c732ee14d6aa2c7909f9721b8a4713289a1ba1df..0f88665692b0e9657f8b9ddeba1543b01a7eef98 100644 (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);
        }
 }
 
Impressum, Datenschutz