skip huge ranges in aar

This commit is contained in:
sivaramaaa 2017-12-15 01:42:23 +05:30 committed by radare
parent 44e1e71f3d
commit 01cfc73acc

View File

@ -5681,6 +5681,8 @@ R_API int r_core_anal_refs(RCore *core, const char *input) {
to = r_itv_end (map->itv);
if (!from && !to) {
eprintf ("Cannot determine xref search boundaries\n");
} else if (to - from > UT32_MAX) {
eprintf ("Skipping huge range\n");
} else {
r_core_anal_search_xrefs (core, from, to, rad);
}