[Bug tools/21312] New: eu-elflint: memory allocation failure in xcalloc (xmalloc.c)

ago at gentoo dot org sourceware-bugzilla@sourceware.org
Mon Mar 27 10:46:00 GMT 2017


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

            Bug ID: 21312
           Summary: eu-elflint: memory allocation failure in xcalloc
                    (xmalloc.c)
           Product: elfutils
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: tools
          Assignee: unassigned at sourceware dot org
          Reporter: ago at gentoo dot org
                CC: elfutils-devel at sourceware dot org
  Target Milestone: ---

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

On elfutils-0.168:

# eu-elflint -d $FILE
==5053==AddressSanitizer CHECK failed:
/tmp/portage/sys-devel/gcc-6.3.0/work/gcc-6.3.0/libsanitizer/sanitizer_common/sanitizer_common.cc:180
"((0 && "unable to mmap")) != (0)" (0x0, 0x0)
    #7 0x431b8d in xcalloc
/tmp/portage/dev-libs/elfutils-0.168/work/elfutils-0.168/lib/xmalloc.c:64


Compiled with: gcc-6.3.0

Reproducer:
https://github.com/asarubbo/poc/blob/master/00236-elfutils-memallocfailure

Stacktrace attached.

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


More information about the Elfutils-devel mailing list