[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug libctf/28933] buffer overflow on powerpc-linux
From: |
amodra at gmail dot com |
Subject: |
[Bug libctf/28933] buffer overflow on powerpc-linux |
Date: |
Thu, 17 Mar 2022 23:19:08 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=28933
--- Comment #3 from Alan Modra <amodra at gmail dot com> ---
Created attachment 14023
--> https://sourceware.org/bugzilla/attachment.cgi?id=14023&action=edit
testcase object file
I built binutils on an Ubuntu 21.04 amd ryzen 9 box, configured with
CFLAGS="-g -O2 -fsanitize=address,undefined" \
CXXFLAGS="-g -O2 -fsanitize=address,undefined" \
~/src/binutils-gdb/configure --build=x86_64-linux \
--disable-nls \
--disable-gdb --disable-gdbserver --disable-gdbsupport --disable-gprofng \
--disable-libbacktrace --disable-libdecnumber --disable-readline --disable-sim
\
--target=powerpc-linux
I have a full cross toolchain installed, with gcc (12.0.1 20220214).
You should be able to reproduce just with current binutils and the attached
object file.
export ASAN_OPTIONS=detect_leaks=0
./ld-new -z norelro -L/home/alan/src/binutils-gdb/ld/testsuite/ld-ctf -shared
-o tmpdir/dump tmpdir/diag-cttname-invalid.o
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug libctf/28933] New: buffer overflow on powerpc-linux, amodra at gmail dot com, 2022/03/01
- [Bug libctf/28933] buffer overflow on powerpc-linux, amodra at gmail dot com, 2022/03/01
- [Bug libctf/28933] buffer overflow on powerpc-linux, amodra at gmail dot com, 2022/03/01
- [Bug libctf/28933] buffer overflow on powerpc-linux, nick.alcock at oracle dot com, 2022/03/03
- [Bug libctf/28933] buffer overflow on powerpc-linux, nick.alcock at oracle dot com, 2022/03/17
- [Bug libctf/28933] buffer overflow on powerpc-linux,
amodra at gmail dot com <=
- [Bug libctf/28933] buffer overflow on powerpc-linux, nick.alcock at oracle dot com, 2022/03/17
- [Bug libctf/28933] buffer overflow on powerpc-linux, nick.alcock at oracle dot com, 2022/03/17
- [Bug libctf/28933] buffer overflow on powerpc-linux, cvs-commit at gcc dot gnu.org, 2022/03/23
- [Bug libctf/28933] buffer overflow on powerpc-linux, cvs-commit at gcc dot gnu.org, 2022/03/24
- [Bug libctf/28933] buffer overflow on powerpc-linux, nick.alcock at oracle dot com, 2022/03/24