rename: ul_switch_off_field -> DropField (inside cmdhf14a.c)

chg:  Fix memory bounds error (@wsmoses)
 https://github.com/Proxmark/proxmark3/commit/c3511781a16c6f3f24abe2ad9a08c0737b1dc3b0
This commit is contained in:
iceman1001 committed 2017-11-11 23:23:01 +01:00
1 parent f906cb7f89
commit 2f3dbbcaa3
15 files changed
+132 -99

No files matched your search

+1 -1
View File
@@ -73,7 +73,7 @@ int GetWiegandFromPresco(const char *Cmd, uint32_t *sitecode, uint32_t *usercode
case 'D':
case 'd':
//param get string int param_getstr(const char *line, int paramnum, char * str)
stringlen = param_getstr(Cmd, cmdp+1, id);
stringlen = param_getstr(Cmd, cmdp+1, id, sizeof(id));
if (stringlen < 2) return -1;
cmdp += 2;
break;