bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/24435] heap overflow in bfd_getl64


From: amodra at gmail dot com
Subject: [Bug binutils/24435] heap overflow in bfd_getl64
Date: Wed, 10 Apr 2019 23:43:48 +0000

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

--- Comment #4 from Alan Modra <amodra at gmail dot com> ---
address@hidden:~/build/gas/sanitize$ ld/ld-new ~/src/tmp/pr24435.so 
ld/ld-new: /home/alan/src/tmp/pr24435.so: file not recognized: bad value

This with binutils configured as
CFLAGS="-g -O2 -fsanitize=address" CXXFLAGS="-g -O2 -fsanitize=address" \
~/src/binutils-gdb/configure --build=x86_64-linux --enable-targets=all \
--enable-gold --enable-threads --disable-gdb --disable-sim --disable-readline \
--disable-libdecnumber --enable-plugins 

And the reason ld doesn't recognize the file is that we hit the pr24273 patch
in bfd_elf_string_from_elf_section.

So, how did you configure your binutils?

-- 
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]