Fix #12292 - assert in r2 -coo -d ls

This commit is contained in:
pancake 2018-11-23 02:06:28 +01:00
parent efeca81167
commit 25603aa61c

View File

@ -720,7 +720,9 @@ R_API ut64 r_bin_get_laddr(RBin *bin) {
R_API void r_bin_set_baddr(RBin *bin, ut64 baddr) {
r_return_if_fail (bin);
RBinObject *o = r_bin_cur_object (bin);
r_bin_object_set_baddr (o, baddr);
if (o) {
r_bin_object_set_baddr (o, baddr);
}
// XXX - update all the infos?
}