This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]