Use size instead of section->size in section comments (#12423)

This commit is contained in:
Khairul Azhar Kasmiran 2018-12-06 22:18:28 +08:00 committed by radare
parent 2150ffce75
commit 2a25cddf41

View File

@ -2378,7 +2378,7 @@ static int bin_sections(RCore *r, int mode, ut64 laddr, int va, ut64 at, const c
if (!section->is_segment || segments_only) {
char *pfx = r->bin->prefix;
str = r_str_newf ("[%02d] %s %s size %" PFMT64d" named %s%s%s",
i, perms, type, section->size,
i, perms, type, size,
pfx? pfx: "", pfx? ".": "", section->name);
r_meta_add (r->anal, R_META_TYPE_COMMENT, addr, addr, str);
R_FREE (str);