aboutsummaryrefslogtreecommitdiff
path: root/libctf
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2021-02-02 10:40:51 -0500
committerSimon Marchi <simon.marchi@polymtl.ca>2021-02-02 10:40:51 -0500
commit05787bad362024d1328c0d6f7c51244a7d6c1e75 (patch)
treeb87949bde02828ff51b02657675027f4faabaacc /libctf
parent5e4d9bbc4b4e57eacb614c38f30dac9af08cace8 (diff)
downloadbinutils-05787bad362024d1328c0d6f7c51244a7d6c1e75.zip
binutils-05787bad362024d1328c0d6f7c51244a7d6c1e75.tar.gz
binutils-05787bad362024d1328c0d6f7c51244a7d6c1e75.tar.bz2
gdb/dwarf: add missing bound check to read_loclist_index
read_rnglist_index has a bound check to make sure that we don't go past the end of the section while reading the offset, but read_loclist_index doesn't. Add it to read_loclist_index. gdb/ChangeLog: * dwarf2/read.c (read_loclist_index): Add bound check for the end of the offset. Change-Id: Ic4b55c88860fdc3e007740949c78ec84cdb4da60
Diffstat (limited to 'libctf')
0 files changed, 0 insertions, 0 deletions