__libdw_getabbrev could crash on reading a bad abbrev by trying to
deallocate memory it didn't allocate itself. This could happen because
dwarf_offabbrev would supply its own memory when calling
__libdw_getabbrev. No other caller did this.
Simplify the __libdw_getabbrev common code by not taking e
https://sourceware.org/bugzilla/show_bug.cgi?id=32673
Bug ID: 32673
Summary: eu-strip SEGV (illegal read access) in
gelf_getsymshndx (libelf/gelf_getsymshndx.c:123)
Product: elfutils
Version: unspecified
Status: UNCONFIR
https://sourceware.org/bugzilla/show_bug.cgi?id=32672
Bug ID: 32672
Summary: eu-strip SEGV (illegal read access) in validate_str
(libelf/elf_strptr.c:60)
Product: elfutils
Version: unspecified
Status: UNCONFIRMED
https://sourceware.org/bugzilla/show_bug.cgi?id=32672
Mark Wielaard changed:
What|Removed |Added
CC||mark at klomp dot org
--- Comment #1
When dynsym/str was read through eu-readelf --dynamic by readelf
process_symtab the string data was not validated, possibly printing
unallocated memory past the end of the symstr data. Fix this by
truning the elf_strptr validate_str function into a generic
lib/system.h helper function and use it in
https://sourceware.org/bugzilla/show_bug.cgi?id=32598
Aaron Merey changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
A corrupt ELF file can have broken program headers, in which case
gelf_getphdr returns NULL. This could crash handle_dynamic_symtab
while searching for the PT_DYNAMIC phdr. Fix this by checking whether
gelf_phdr returns NULL.
* src/readelf.c (handle_dynamic_symtab): Check whether
When combining eu-readelf -z with -x or -p to dump the data or strings
in an (corrupted ELF) unnamed numbered section eu-readelf could crash
trying to check whether the section name starts with .zdebug. Fix this
by skipping sections without a name.
* src/readelf.c (dump_data_section): Don't try
https://sourceware.org/bugzilla/show_bug.cgi?id=32672
Mark Wielaard changed:
What|Removed |Added
Assignee|unassigned at sourceware dot org |mark at klomp dot org
Last r