mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-28 23:50:40 +00:00
Fix CID 1214324
This commit is contained in:
parent
4b94e61661
commit
89b89afd22
@ -1210,7 +1210,9 @@ R_API int r_core_bin_raise (RCore *core, ut32 binfile_idx, ut32 binobj_idx) {
|
||||
|
||||
if (!r_bin_select_by_ids (bin, binfile_idx, binobj_idx)) return R_FALSE;
|
||||
binfile = r_core_bin_cur (core);
|
||||
r_io_raise (core->io, binfile->fd);
|
||||
if (binfile) {
|
||||
r_io_raise (core->io, binfile->fd);
|
||||
}
|
||||
core->switch_file_view = 1;
|
||||
return binfile && r_core_bin_set_env (core, binfile) && r_core_block_read (core, 0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user