aboutsummaryrefslogtreecommitdiff
path: root/readline/histfile.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2019-08-19 20:24:35 +0930
committerAlan Modra <amodra@gmail.com>2019-08-19 20:38:59 +0930
commitd292364e95fc9c8230b678d9026f285850074c02 (patch)
tree5a4c285984e140319dfbc82ad9fa6d468fd0baf9 /readline/histfile.c
parent903b777ddeb4c11a7de12cab59124e777614edec (diff)
downloadgdb-d292364e95fc9c8230b678d9026f285850074c02.zip
gdb-d292364e95fc9c8230b678d9026f285850074c02.tar.gz
gdb-d292364e95fc9c8230b678d9026f285850074c02.tar.bz2
PR24898, An out-of-bounds read occured in display_data
Given 32-bit pointers and a 64-bit bfd_size_type, it is relatively easy to construct a value of augmentation_data_len (eg. 0x100000000) that won't fail pointer checks but will print without bounds. PR 24898 * dwarf.c (display_debug_frames): Use the read_cie check and error for augmentation data length.
Diffstat (limited to 'readline/histfile.c')
0 files changed, 0 insertions, 0 deletions