mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-03 12:12:06 +00:00
Fix CID 1214310
This commit is contained in:
parent
58b5e970ba
commit
3b4f167473
@ -1197,7 +1197,7 @@ 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);
|
||||
if (binfile) {
|
||||
if (binfile && name) {
|
||||
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