https://sourceware.org/bugzilla/show_bug.cgi?id=32858
Alan Modra <amodra at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at sourceware dot org |amodra at gmail dot com
Status|UNCONFIRMED |ASSIGNED
Ever confirmed|0 |1
Last reconfirmed| |2025-04-10
--- Comment #1 from Alan Modra <amodra at gmail dot com> ---
Please build binutils from current git master if you are reporting bugs found
using fuzzed object files. This particular testcase has already been fixed on
mainline.
However, adding -melf_i386 to the command line (or using a ld that defaults to
i386) does show a different segfault
/home/alan/src/binutils-gdb/bfd/elflink.c:14411:26: runtime error: member
access within null pointer of type 'struct asection'
AddressSanitizer:DEADLYSIGNAL
=================================================================
==2584663==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000028 (pc
0x5670997b8a63 bp 0x521000020928 sp 0x7ffc4cdf63c0 T0)
==2584663==The signal is caused by a READ memory access.
==2584663==Hint: address points to the zero page.
#0 0x5670997b8a63 in elf_gc_sweep
/home/alan/src/binutils-gdb/bfd/elflink.c:14411
#1 0x5670997b8a63 in bfd_elf_gc_sections
/home/alan/src/binutils-gdb/bfd/elflink.c:14751
--
You are receiving this mail because:
You are on the CC list for the bug.