bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/21345] New: readelf: memory allocation failure


From: ago at gentoo dot org
Subject: [Bug binutils/21345] New: readelf: memory allocation failure
Date: Sat, 01 Apr 2017 19:11:15 +0000

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

            Bug ID: 21345
           Summary: readelf: memory allocation failure
           Product: binutils
           Version: 2.28
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: ago at gentoo dot org
  Target Milestone: ---

Created attachment 9962
  --> https://sourceware.org/bugzilla/attachment.cgi?id=9962&action=edit
stacktrace

Hello,

on binutils 2.28, compiled with clang-4:

# readelf -a $FILE
==20389==AddressSanitizer CHECK failed:
/tmp/portage/sys-libs/compiler-rt-sanitizers-4.0.0/work/compiler-rt-4.0.0.src/lib/sanitizer_common/sanitizer_common.cc:120
"((0 && "unable to mmap")) != (0)" (0x0, 0x0)
    #8 0x66216d in xmalloc
/tmp/portage/sys-devel/binutils-2.28/work/binutils-2.28/libiberty/xmalloc.c:148:12


Reproducer:
https://github.com/asarubbo/poc/blob/master/00259-binutils-readelf-memallocfailure

FTR: This bug is confirmed on master.

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