]> git.ipfire.org Git - thirdparty/elfutils.git/commit
libdwfl: Handle unaligned Phdr in dwfl_segment_report_module
authorMark Wielaard <mark@klomp.org>
Sun, 19 Dec 2021 23:31:33 +0000 (00:31 +0100)
committerMark Wielaard <mark@klomp.org>
Sun, 19 Dec 2021 23:31:33 +0000 (00:31 +0100)
commitc1c8bbe8a04697203e18f92c09827defdcf7d204
tree0a611257f4be38de3597398454a409be95b57278
parent34ef8b44ed5998b025bd77fde4c71d7d8e585cf0
libdwfl: Handle unaligned Phdr in dwfl_segment_report_module

The xlate functions only handle correctly aligned buffers. But they do
handle src == dest. So if the source buffer isn't aligned correctly
just copy it first into the destination (which is already correctly
aligned).

Signed-off-by: Mark Wielaard <mark@klomp.org>
libdwfl/ChangeLog
libdwfl/dwfl_segment_report_module.c