rename: ul_switch_off_field -> DropField (inside cmdhf14a.c)
chg: Fix memory bounds error (@wsmoses)
c3511781a1
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user