bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/17995] New: buffer overrun in verilog bfd backend


From: branko.drevensek at gmail dot com
Subject: [Bug binutils/17995] New: buffer overrun in verilog bfd backend
Date: Wed, 18 Feb 2015 08:04:07 +0000

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

            Bug ID: 17995
           Summary: buffer overrun in verilog bfd backend
           Product: binutils
           Version: 2.26 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: branko.drevensek at gmail dot com

objcopy -O verilog...

Expected output:
@00000000
00 00 00 00 00 00 00 00 0F C6 00 00 00 00 00 00 
0D CE 00 00 00 00 00 00 0D 8E 00 00 00 00 00 00 
...

Generated output
@00000000
00 00 00 00 00 00 00 00 0F C6 00 00 00 00 00 00 address@hidden CE 00 00 00 00 
00 00 0D
8E 00 00 00 00 00 00 address@hidden ...

---

Results depend on the toolchain used to build. Above results are produced if
binutils are built by developer toolset 3 on 32 bit CentOS 6.

Generic CentOS 6 binutils gives this:
objcopy -O verilog file.elf file.v
*** stack smashing detected ***: objcopy terminated
======= Backtrace: =========
/lib/libc.so.6(__fortify_fail+0x4d)[0x2dedad]
/lib/libc.so.6[0x2ded5a]
/usr/lib/libbfd-2.20.51.0.2-5.42.el6.so[0x498544]
/usr/lib/libbfd-2.20.51.0.2-5.42.el6.so[0x42856c]

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