]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/BigBuf.c
some @iceman1001 s coverty scan fixes
[proxmark3-svn] / armsrc / BigBuf.c
index 8f9ee4beb7a2e58a02b35996d7645575cc1f7abb..da3b0ce27bcfa99b0f238fc8c330254f8e189c7b 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