[Bug libelf/21315] New: multiple misaligned address errors

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


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

            Bug ID: 21315
           Summary: multiple misaligned address errors
           Product: elfutils
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libelf
          Assignee: unassigned at sourceware dot org
          Reporter: ago at gentoo dot org
                CC: elfutils-devel at sourceware dot org
  Target Milestone: ---

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

On elfutils-0.168:

# eu-elflint -d $FILE
libelf/elf32_getshdr.c:140:8: runtime error: member access within misaligned
address 0x7fa161766002 for type 'struct Elf64_Shdr', which requires 8 byte
alignment


Compiled with: gcc-6.3.0
Visible with: -fsanitize=undefined

Reproducer:
https://github.com/asarubbo/poc/blob/master/00237-elfutils-misalignedaddress1

Errors attached.

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


More information about the Elfutils-devel mailing list