summaryrefslogtreecommitdiffstats
path: root/libdwfl/ChangeLog
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2021-12-19 23:58:32 +0100
committerMark Wielaard <mark@klomp.org>2021-12-19 23:58:32 +0100
commit34ef8b44ed5998b025bd77fde4c71d7d8e585cf0 (patch)
treea9297a1db37dd827ba156c73b67bfae75d7482e3 /libdwfl/ChangeLog
parentlibdwfl: Rewrite GElf_Nhdr reading in dwfl_segment_report_module (diff)
downloadelfutils-34ef8b44ed5998b025bd77fde4c71d7d8e585cf0.tar.gz
elfutils-34ef8b44ed5998b025bd77fde4c71d7d8e585cf0.tar.bz2
elfutils-34ef8b44ed5998b025bd77fde4c71d7d8e585cf0.tar.xz
libdwfl: Handle unaligned Ehdr 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>
Diffstat (limited to 'libdwfl/ChangeLog')
-rw-r--r--libdwfl/ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/libdwfl/ChangeLog b/libdwfl/ChangeLog
index 18ffc347..6c7e0c4a 100644
--- a/libdwfl/ChangeLog
+++ b/libdwfl/ChangeLog
@@ -1,5 +1,10 @@
12021-12-19 Mark Wielaard <mark@klomp.org> 12021-12-19 Mark Wielaard <mark@klomp.org>
2 2
3 * dwfl_segment_report_module.c (dwfl_segment_report_module): Copy
4 buffer and set xlatefrom.d_buf to ehdr when buffer is not aligned.
5
62021-12-19 Mark Wielaard <mark@klomp.org>
7
3 * dwfl_segment_report_module.c (dwfl_segment_report_module): Check 8 * dwfl_segment_report_module.c (dwfl_segment_report_module): Check
4 notes filesz. Rewrite reading of GElf_Nhdr. 9 notes filesz. Rewrite reading of GElf_Nhdr.
5 10