[Bug libelf/21316] New: multiple misaligned address errors for Elf32_Phdr

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


            Bug ID: 21316
           Summary: multiple misaligned address errors for Elf32_Phdr
           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 9948
  --> https://sourceware.org/bugzilla/attachment.cgi?id=9948&action=edit

On elfutils-0.168:

# eu-elflint -d $FILE
libelf/gelf_getphdr.c:100:7: runtime error: member access within misaligned
address 0x7f03180e3001 for type 'struct Elf32_Phdr', which requires 4 byte

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


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