mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-10-23 17:23:23 +00:00
fix compilation errors for strlen call that doesnt like uint8_t arrays
This commit is contained in:
1 parent
8565781f66
commit
0a42e92d11
1 file changed
+1
-1
@@ -8570,7 +8570,7 @@ static int CmdHFMFHidEncode(const char *Cmd) {
|
||||
if (bin_len) {
|
||||
char mfcbin[121] = {0};
|
||||
mfcbin[0] = '1';
|
||||
memcpy(mfcbin + 1, bin, strlen(bin));
|
||||
memcpy(mfcbin + 1, bin, bin_len);
|
||||
|
||||
size_t hexlen = 0;
|
||||
uint8_t hex[15] = {0};
|
||||
|
||||
Reference in new issue
Block a user