No description
When using eu-readelf with the -D (use_dynamic_segment) flag on malformed ELF files, process_symtab can receive a NULL symstr_data pointer if elf_getdata_rawchunk fails or the dynamic segment is malformed. The function then dereferences symstr_data->d_buf without checking, causing a segmentation fault. Add NULL check before accessing symstr_data fields. Fixes regression introduced in 0.194 where process_symtab was refactored to handle dynamic segment symbol tables. Signed-off-by: Samuel Dainard <sdainard@amazon.com> |
||
|---|---|---|
| .forgejo/workflows | ||
| backends | ||
| config | ||
| debuginfod | ||
| doc | ||
| lib | ||
| libasm | ||
| libcpu | ||
| libdw | ||
| libdwelf | ||
| libdwfl | ||
| libdwfl_stacktrace | ||
| libebl | ||
| libelf | ||
| m4 | ||
| po | ||
| src | ||
| tests | ||
| .gitignore | ||
| .mailmap | ||
| AUTHORS | ||
| AUTHORS.sh | ||
| ChangeLog | ||
| CONDUCT | ||
| configure.ac | ||
| CONTRIBUTING | ||
| COPYING | ||
| COPYING-GPLV2 | ||
| COPYING-LGPLV3 | ||
| GPG-KEY | ||
| Makefile.am | ||
| NEWS | ||
| NOTES | ||
| README | ||
| SECURITY | ||
| THANKS | ||
| TODO | ||
The elfutils project provides libraries and tools for ELF files and DWARF data. The project home is http://elfutils.org/ Releases are published at ftp://sourceware.org/pub/elfutils/ Which can also be found at https://sourceware.org/elfutils/ftp/ To build a release do: ./configure && make && make check Please check the configure summary to make sure all recommended features are enabled. There should be no failures after make check. Please reports bugs at https://sourceware.org/bugzilla/ The current elfutils source code can be checked out with git clone git://sourceware.org/git/elfutils.git To build a git checkout do: autoreconf -i -f && \ ./configure --enable-maintainer-mode && \ make && make check The developer mailinglist to send patches to is elfutils-devel@sourceware.org. https://sourceware.org/ml/elfutils-devel/ To subscribe send an email to elfutils-devel-subscribe@sourceware.org Or use the form at https://sourceware.org/mailman/listinfo/elfutils-devel See the CONTRIBUTING file for how to propose patches to the code. See the NOTES files for some design decisions and notes. See the SECURITY file for defining and handling security-sensitive bugs.