https://sourceware.org/bugzilla/show_bug.cgi?id=20932
Bug ID: 20932
Summary: LD: Internal error during record link assignment
Product: binutils
Version: 2.28 (HEAD)
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: boehme.marcel at gmail dot com
Target Milestone: ---
Dear all,
The following bug was found with AFLFast, a fork of AFL, in a 24 hour fuzzing
session on Binutils. Thanks also to Van-Thuan Pham.
The linker reports an internal error for Binutils in trunk and crashes for
Binutils v2.26.1 and v2.24.
$ printf
"\x08\x01\x00\x00\x08\x00\x00\x00\x04\x00\x00\x00\x00000\x60\x00\x00\x00\x00000\x00\x00\x00\x00\x00\x00\x00\x00\x0000000000000\x02\x00\x00\x00\x18\x23000000\x06\x00\x00\x00\x140000000\x00\x00\x00\x00\x140000000\x02\x00\x00\x00\x180000000\x06\x00\x00\x00\x1e0\x0900000\x00\x00\x00\x00\x180000000\x02\x00\x00\x00\x180000000\x06\x00\x00\x00\x0d0000000\x08\x00\x00\x00\x00000"
> test
$ ./ld -E test
./ld: i386 architecture of input file `test' is incompatible with i386:x86-64
output
./ld: Special section *ABS* does not support reloc BFD_RELOC_CTOR for set 0
./ld: BFD (GNU Binutils) 2.27.51.20161206 internal error, aborting at
../../bfd/elflink.c:628 in bfd_elf_record_link_assignment
./ld-new: Please report this bug.
Best regards,
- Marcel
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-binutils