mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-26 22:50:48 +00:00
Null deref with invalid key to r_core_get_boundaries_prot ##crash
This commit is contained in:
parent
f69820c46e
commit
fde24c7a43
@ -820,6 +820,9 @@ R_API RList *r_core_get_boundaries_prot(RCore *core, R_UNUSED int perm, const ch
|
||||
const RInterval search_itv = {search_from, search_to - search_from};
|
||||
if (!mode) {
|
||||
mode = r_config_get (core->config, bound_in);
|
||||
if (!mode) {
|
||||
mode = "search";
|
||||
}
|
||||
}
|
||||
if (perm == -1) {
|
||||
perm = R_PERM_RWX;
|
||||
|
Loading…
Reference in New Issue
Block a user