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]

Re: [PATCH] libelf: Make sure elf_getdata_rawchunk returns aligned data.


On Thu, Jun 04, 2015 at 04:31:19PM +0200, Mark Wielaard wrote:
> elf_getdata_rawchunk might return an unaligned buffer for the requested
> ELF data type. Make sure the data is also correctly aligned when using
> an mmapped file. Also add some missing alignments for ELF data types
> for __libelf_type_align (the missing types could also make elf_getdata
> to return unaligned data).

Pushed to master.

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