]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdhfepa.c
ADD: @pwpiwi 's fix https://github.com/Proxmark/proxmark3/commit/50365fedcbaf91ce530c...
[proxmark3-svn] / client / cmdhfepa.c
index ecdb311c016c539381d30bfceedcae3c060b5f6b..afcdb0fa040ae9b822376415c2167a0a07326eac 100644 (file)
@@ -54,7 +54,7 @@ int CmdHFEPACollectPACENonces(const char *Cmd)
                        size_t nonce_length = resp.arg[1];
                        char *nonce = (char *) malloc(2 * nonce_length + 1);
                        for(int j = 0; j < nonce_length; j++) {
-                               snprintf(nonce + (2 * j), "%02X", resp.d.asBytes[j]);
+                               sprintf(nonce + (2 * j), "%02X", resp.d.asBytes[j]);
                        }
                        // print nonce
                        PrintAndLog("Length: %d, Nonce: %s", nonce_length, nonce);
Impressum, Datenschutz