]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdhfepa.c
FIX: Coverity, out-of-bounds write, CID# 121336, s_index should take factor in consi...
[proxmark3-svn] / client / cmdhfepa.c
index e9c63f20b02f7f88fae741f4e24780a763bff910..ed903cf64ce6dbc26d7e3017164db1f2d402cdc3 100644 (file)
@@ -58,13 +58,13 @@ int CmdHFEPACollectPACENonces(const char *Cmd)
                        }
                        // print nonce
                        PrintAndLog("Length: %d, Nonce: %s", nonce_length, nonce);
+                       free(nonce);
                }
                if (i < n - 1) {
                        sleep(d);
                }
        }
        PrintAndLog("End: %u", time(NULL));
-
        return 1;
 }
 
Impressum, Datenschutz