[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/32109] internal error, aborting at bfd/bfd.c:1236 in int _
From: |
cvs-commit at gcc dot gnu.org |
Subject: |
[Bug binutils/32109] internal error, aborting at bfd/bfd.c:1236 in int _bfd_doprnt |
Date: |
Mon, 26 Aug 2024 01:07:40 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=32109
--- Comment #4 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The binutils-2_43-branch branch has been updated by Alan Modra
<amodra@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=cd3e2b58f2c42197737e5f24943a74c394d04b05
commit cd3e2b58f2c42197737e5f24943a74c394d04b05
Author: Alan Modra <amodra@gmail.com>
Date: Sun Aug 25 15:20:21 2024 +0930
PR32109, aborting at bfd/bfd.c:1236 in int _bfd_doprnt
Since bfd_section for .strtab isn't set, print the section index
instead. Also, don't return NULL on this error as that results in
multiple mmap/read of the string table. (We could return NULL if we
arranged to set sh_size zero first, but just what we do with fuzzed
object files is of no concern, and terminating the table might make a
faulty object file usable.)
PR 32109
* elf.c (bfd_elf_get_str_section): Remove outdated comment, and
tweak shstrtabsize test to suit. Don't use string tab bfd_section
in error message, use index instead. Don't return NULL on
unterminated string section, terminate it.
(_bfd_elf_get_dynamic_symbols): Similarly terminate string table
section.
(cherry picked from commit db856d41004301b3a56438efd957ef5cabb91530)
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/32109] internal error, aborting at bfd/bfd.c:1236 in int _bfd_doprnt, tromey at sourceware dot org, 2024/08/23
- [Bug binutils/32109] internal error, aborting at bfd/bfd.c:1236 in int _bfd_doprnt, tromey at sourceware dot org, 2024/08/23
- [Bug binutils/32109] internal error, aborting at bfd/bfd.c:1236 in int _bfd_doprnt, tromey at sourceware dot org, 2024/08/23
- [Bug binutils/32109] internal error, aborting at bfd/bfd.c:1236 in int _bfd_doprnt, amodra at gmail dot com, 2024/08/24
- [Bug binutils/32109] internal error, aborting at bfd/bfd.c:1236 in int _bfd_doprnt, cvs-commit at gcc dot gnu.org, 2024/08/25
- [Bug binutils/32109] internal error, aborting at bfd/bfd.c:1236 in int _bfd_doprnt,
cvs-commit at gcc dot gnu.org <=
- [Bug binutils/32109] internal error, aborting at bfd/bfd.c:1236 in int _bfd_doprnt, amodra at gmail dot com, 2024/08/25