diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2021-02-02 10:40:51 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2021-02-02 10:40:51 -0500 |
commit | 05787bad362024d1328c0d6f7c51244a7d6c1e75 (patch) | |
tree | b87949bde02828ff51b02657675027f4faabaacc /libctf/ctf-impl.h | |
parent | 5e4d9bbc4b4e57eacb614c38f30dac9af08cace8 (diff) | |
download | binutils-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/ctf-impl.h')
0 files changed, 0 insertions, 0 deletions