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

chg:  Fix memory bounds error (@wsmoses)
 c3511781a1
This commit is contained in:
iceman1001
2017-11-11 23:23:01 +01:00
parent f906cb7f89
commit 2f3dbbcaa3
15 changed files with 132 additions and 99 deletions

View File

@@ -207,7 +207,7 @@ int CmdHfEmvELoad(const char *Cmd) {
return usage_hf_emv_eload();
case 'o':
case 'O':
len = param_getstr(Cmd, cmdp+1, filename);
len = param_getstr(Cmd, cmdp+1, filename, FILE_PATH_SIZE);
if (!len)
errors = true;
if (len > FILE_PATH_SIZE-5)