diff options
author | Nick Clifton <nickc@redhat.com> | 2023-10-05 15:27:47 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2023-10-05 15:27:47 +0100 |
commit | 345309aadd64b701426fe3b4f4184ae689feef06 (patch) | |
tree | dbfe7c6e66b5a6c18939852ee48c3d583192a969 /bfd/elf.c | |
parent | 1499719e6d7a556025b5c95956434f9047b8b83c (diff) | |
download | gdb-345309aadd64b701426fe3b4f4184ae689feef06.zip gdb-345309aadd64b701426fe3b4f4184ae689feef06.tar.gz gdb-345309aadd64b701426fe3b4f4184ae689feef06.tar.bz2 |
Fix: nm: SEGV at bfd/elf.c:2267 in _bfd_elf_get_dynamic_symbols
PR 30904
* elf.c (_bfd_elf_get_dynamic_symbols): Fix typo when checking to see if the gnuchains array has been successfully created.
Diffstat (limited to 'bfd/elf.c')
-rw-r--r-- | bfd/elf.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2227,7 +2227,7 @@ _bfd_elf_get_dynamic_symbols (bfd *abfd, Elf_Internal_Phdr *phdr, goto error_return; gnuchains = get_hash_table_data (abfd, maxchain, 4, filesize); - if (gnubuckets == NULL) + if (gnuchains == NULL) goto error_return; ngnuchains = maxchain; |