diff options
author | Alan Modra <amodra@gmail.com> | 2021-05-15 15:06:28 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2021-05-15 15:09:01 +0930 |
commit | 46d1214d887cdd2979fec2344cda1720abbbd33f (patch) | |
tree | 21481cb28334fad48ebabe585cbcb2eca50417c2 /binutils/ChangeLog | |
parent | c03df92247333e5bf65bc663fab80fe7a87c0370 (diff) | |
download | gdb-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/ChangeLog | 6 |
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. |