]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/BigBuf.c
FIX: coverty scan defects.
[proxmark3-svn] / armsrc / BigBuf.c
index 64ad91ff6cc64e359f8c0cd827792f4f6c766e25..f3f23ddc9fe40b56004c1fe27e93fce17b1900ec 100644 (file)
@@ -184,7 +184,7 @@ bool RAMFUNC LogTrace(const uint8_t *btBytes, uint16_t iLen, uint32_t timestamp_
        traceLen += iLen;
 
        // parity bytes
-       if (iLen != 0) {
+       if (num_paritybytes != 0) {
                if (parity != NULL) {
                        memcpy(trace + traceLen, parity, num_paritybytes);
                } else {
Impressum, Datenschutz