bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/30886] nm: SEGV on unknow address at nm.c:718 in print_sym


From: cvs-commit at gcc dot gnu.org
Subject: [Bug binutils/30886] nm: SEGV on unknow address at nm.c:718 in print_symname
Date: Thu, 28 Sep 2023 11:38:34 +0000

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

--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by Nick Clifton <nickc@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6136093c0d009e3118abb08344e156d91144a046

commit 6136093c0d009e3118abb08344e156d91144a046
Author: Nick Clifton <nickc@redhat.com>
Date:   Thu Sep 28 12:37:59 2023 +0100

    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.

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]