Consider:
> 0x7fac5ec0b000 to 0x7fac5ed9a000, len = 0x18f000, offset =0
> r--p/usr/lib/libstdc++.so.6.0.25
> 0x7fac5ec94000 to 0x7fac5ed8a000, len =0xf6000, offset = 0x89000
> ---p/usr/lib/libstdc++.so.6.0.25
0x7fac5ec94000 - 0x89000 = 0x7fac5ec0b000
This i
A bogus ELF file could have sh_entsize as zero. Don't divide by zero,
but just assume there are no symbols in the section.
https://sourceware.org/bugzilla/show_bug.cgi?id=23786
Signed-off-by: Mark Wielaard
---
src/ChangeLog | 4
src/arlib.c | 3 +++
2 files changed, 7 insertions(+)
diff
https://sourceware.org/bugzilla/show_bug.cgi?id=23786
Mark Wielaard changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed|
eu-size didn't handle an ELF ar file that contained an ar file itself
correctly. handle_ar would recursively call itself but close the ELF
file before returning. Only close the ELF file at the top-level.
https://sourceware.org/bugzilla/show_bug.cgi?id=23787
Signed-off-by: Mark Wielaard
---
src/
https://sourceware.org/bugzilla/show_bug.cgi?id=23787
Mark Wielaard changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed|