summaryrefslogtreecommitdiff
path: root/libelf/ChangeLog
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2022-03-20 22:21:05 +0100
committerMark Wielaard <mark@klomp.org>2022-03-20 22:21:05 +0100
commit2785ba7ad21e3f28949c7333d48412122ebbcfa2 (patch)
tree8c524b6596f57ea1504ba97c80296c06f65f7df4 /libelf/ChangeLog
parent3b878cfe71b5637ad043382e8c300233cff89f6e (diff)
downloadelfutils-2785ba7ad21e3f28949c7333d48412122ebbcfa2.tar.gz
libelf: Don't overflow offsets in elf_cvt_Verneed and elf_cvt_Verdef
The conversion functions for Verdef and Verneed keep offsets to the next structure. Make sure that following vd_aux, vda_next, vd_next, vn_aux, vna_next and vn_next don't overflow (and wrap around) the offsets. Signed-off-by: Mark Wielaard <mark@klomp.org>
Diffstat (limited to 'libelf/ChangeLog')
-rw-r--r--libelf/ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/libelf/ChangeLog b/libelf/ChangeLog
index f6b47c68..ea204e2b 100644
--- a/libelf/ChangeLog
+++ b/libelf/ChangeLog
@@ -1,3 +1,10 @@
+2022-03-20 Mark Wielaard <mark@klomp.org>
+
+ * version_xlate.h (elf_cvt_Verdef): Make sure aux_offset and
+ def_offset don't overflow.
+ (elf_cvt_Verneed): Make sure aux_offset and need_offset don't
+ overflow.
+
2022-03-18 Mark Wielaard <mark@klomp.org>
* version_xlate.h (elf_cvt_Verdef): Check alignment of def_offset