aboutsummaryrefslogtreecommitdiff
path: root/binutils/ChangeLog
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2021-05-15 15:06:28 +0930
committerAlan Modra <amodra@gmail.com>2021-05-15 15:09:01 +0930
commit46d1214d887cdd2979fec2344cda1720abbbd33f (patch)
tree21481cb28334fad48ebabe585cbcb2eca50417c2 /binutils/ChangeLog
parentc03df92247333e5bf65bc663fab80fe7a87c0370 (diff)
downloadgdb-46d1214d887cdd2979fec2344cda1720abbbd33f.zip
gdb-46d1214d887cdd2979fec2344cda1720abbbd33f.tar.gz
gdb-46d1214d887cdd2979fec2344cda1720abbbd33f.tar.bz2
get_line_filename_and_dirname
* dwarf.c (get_line_filename_and_dirname): Delete initial_length_size. Simplify length sanity check, and check for too small lengths. Constrain data reads to header length. Avoid pointer UB.
Diffstat (limited to 'binutils/ChangeLog')
-rw-r--r--binutils/ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index b4f1af1..ecf389a 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,5 +1,11 @@
2021-05-15 Alan Modra <amodra@gmail.com>
+ * dwarf.c (get_line_filename_and_dirname): Delete initial_length_size.
+ Simplify length sanity check, and check for too small lengths.
+ Constrain data reads to header length. Avoid pointer UB.
+
+2021-05-15 Alan Modra <amodra@gmail.com>
+
* dwarf.c (display_debug_macinfo): Print strings that might not
be zero terminated with %*s. Don't bump curr if unterminated.