[Bug libdw/29434] Memory leak in `dwarf_getscopes`

pablogsal at gmail dot com sourceware-bugzilla@sourceware.org
Thu Aug 4 15:52:32 GMT 2022


https://sourceware.org/bugzilla/show_bug.cgi?id=29434

--- Comment #4 from Pablo Galindo Salgado <pablogsal at gmail dot com> ---
The first result is already 0 in

int result = __libdw_visit_scopes (0, &cu, NULL, &pc_match, &pc_record, &a);

I think this is because walk_children finds no "real children" so it returns
with the last return (ret < 0 ? -1 : 0;) every single time.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Elfutils-devel mailing list