mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-02 02:06:46 +00:00
Check aab argument value
This commit is contained in:
parent
00a1b6bd58
commit
18cb56cbe7
@ -5345,7 +5345,11 @@ static void cmd_anal_blocks(RCore *core, const char *input) {
|
||||
}
|
||||
}
|
||||
} else {
|
||||
ut64 sz = r_num_math (core->num, arg + 1);
|
||||
st64 sz = r_num_math (core->num, arg + 1);
|
||||
if (sz < 1) {
|
||||
eprintf ("Invalid range\n");
|
||||
return;
|
||||
}
|
||||
r_core_cmdf (core, "abb 0x%08"PFMT64x" @ 0x%08"PFMT64x, sz, core->offset);
|
||||
}
|
||||
ctrl_c:
|
||||
|
Loading…
Reference in New Issue
Block a user