mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-27 01:25:41 +08:00
hf iclass config - out of bounds check
This commit is contained in:
parent
8da99277ff
commit
ce40c4d067
1 changed files with 1 additions and 1 deletions
|
@ -3609,7 +3609,7 @@ static int CmdHFiClassConfigCard(const char * Cmd) {
|
||||||
print_config_cards();
|
print_config_cards();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (idx >= 0) {
|
if (idx > -1 && idx < 14) {
|
||||||
const iclass_config_card_item_t *item = get_config_card_item(idx);
|
const iclass_config_card_item_t *item = get_config_card_item(idx);
|
||||||
print_config_card(item);
|
print_config_card(item);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue