aboutsummaryrefslogtreecommitdiff
path: root/bfd/ChangeLog
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2023-09-28 12:37:59 +0100
committerNick Clifton <nickc@redhat.com>2023-09-28 12:37:59 +0100
commit6136093c0d009e3118abb08344e156d91144a046 (patch)
tree507244e1ffcb13fcb1b44c3a3bdeac2fa73347d6 /bfd/ChangeLog
parent2654f77d1424f6172d3026c524e96e14b5752ba1 (diff)
downloadfsf-binutils-gdb-6136093c0d009e3118abb08344e156d91144a046.zip
fsf-binutils-gdb-6136093c0d009e3118abb08344e156d91144a046.tar.gz
fsf-binutils-gdb-6136093c0d009e3118abb08344e156d91144a046.tar.bz2
Fix: nm: SEGV on unknow address at nm.c:718 in print_symname
PR 30886 * elf-bfd.h (struct elf_obj_tdata): Add dt_strsz field. * elf.c (_bfd_elf_get_dynamic_symbols): Add a NUL byte at the end of the string table. Initialise the dt_strsz field. (_bfd_elf_slurp_version_tables): Only free the contents if they were malloc'ed. Add checks before setting string pointers in the dt_strtab buffer.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r--bfd/ChangeLog11
1 files changed, 11 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 2eee20f..ed9db24 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,14 @@
+2023-09-28 Nick Clifton <nickc@redhat.com>
+
+ PR 30886
+ * elf-bfd.h (struct elf_obj_tdata): Add dt_strsz field.
+ * elf.c (_bfd_elf_get_dynamic_symbols): Add a NUL byte at the end
+ of the string table.
+ Initialise the dt_strsz field.
+ (_bfd_elf_slurp_version_tables): Only free the contents if they
+ were malloc'ed.
+ Add checks before setting string pointers in the dt_strtab buffer.
+
2023-09-27 Nick Clifton <nickc@redhat.com>
PR 30885