[PATCH] libelf: Make sure conversion functions work on aligned data for type.

Mark Wielaard mjw at redhat.com
Tue Jun 9 20:50:02 UTC 2015


On Wed, Jun 03, 2015 at 06:54:36PM +0200, Mark Wielaard wrote:
> The gelf_xlate conversion functions work on properly aligned ELF data
> types.  If elf_get data needs to do conversion and ! ALLOW_UNALIGNED
> and the rawdata_base isn't aligned properly for the section type, then
> provide an aligned copy of the data.
> 
> Found with --enable-sanitize-undefined  in run-test-archive64.sh on x86_64.

Pushed to master.


More information about the elfutils-devel mailing list