mirror of
https://github.com/radareorg/radare2.git
synced 2025-03-05 21:13:27 +00:00
Fix CID 1214328
This commit is contained in:
parent
86d13f5340
commit
58b5e970ba
@ -1197,7 +1197,9 @@ R_API int r_bin_select(RBin *bin, const char *arch, int bits, const char *name)
|
||||
RBinObject *obj = NULL;
|
||||
name = !name && cur ? cur->file : name;
|
||||
binfile = r_bin_file_find_by_arch_bits (bin, arch, bits, name);
|
||||
obj = r_bin_object_find_by_arch_bits (binfile, arch, bits, name);
|
||||
if (binfile) {
|
||||
obj = r_bin_object_find_by_arch_bits (binfile, arch, bits, name);
|
||||
}
|
||||
return binfile && r_bin_file_set_cur_binfile_obj (bin, binfile, obj);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user