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

--- Comment #101 from Hanno Boeck <hanno at hboeck dot de> ---
(In reply to Nick Clifton from comment #100)
> I did. but I cannot make nm fail locally.  What command line are you using
> to invoke nm ?  Also for which target have you compiled the binutils ?

Nothing special at all. 64 bit system, "./configure --disable-shared"

What's different: The buffer overflow is detected by default (no
asan/valgrind/etc. probably normal gcc-fortify-source):

*** buffer overflow detected ***: nm-plain terminated
======= Backtrace: =========
/lib64/libc.so.6(+0x73ceb)[0x7fdd416a8ceb]
/lib64/libc.so.6(__fortify_fail+0x37)[0x7fdd4172dae7]
/lib64/libc.so.6(+0xf6b80)[0x7fdd4172bb80]
/lib64/libc.so.6(+0xf6039)[0x7fdd4172b039]
/lib64/libc.so.6(_IO_default_xsputn+0x81)[0x7fdd416abf21]
/lib64/libc.so.6(_IO_vfprintf+0x499e)[0x7fdd4167e48e]
/lib64/libc.so.6(__vsprintf_chk+0x88)[0x7fdd4172b0c8]
/lib64/libc.so.6(__sprintf_chk+0x85)[0x7fdd4172b025]
nm-plain[0x41bd7f]
nm-plain[0x41c4a1]
nm-plain[0x40fe95]
nm-plain[0x404ec7]
nm-plain[0x402f86]
/lib64/libc.so.6(__libc_start_main+0xf0)[0x7fdd41654fa0]
nm-plain[0x403017]

-- 
You are receiving this mail because:
You are on the CC list for the bug.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to