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
commit 2f3dbbcaa3
15 changed files with 132 additions and 99 deletions

View file

@ -924,7 +924,7 @@ int CmdHFList(const char *Cmd) {
return usage_hf_list();
}
param_getstr(Cmd,0,type);
param_getstr(Cmd, 0, type, sizeof(type) );
// validate type of output
if (strcmp(type, "iclass") == 0) protocol = ICLASS;