diff options
author | Alan Modra <amodra@gmail.com> | 2021-08-06 19:08:30 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2021-08-06 23:06:53 +0930 |
commit | 856c1545ce00d5c7d9368cdf5cb9dc7181c981e8 (patch) | |
tree | 924c8c819c40921942fb87fc0e2dc108fc7edd18 /gdb/python/py-linetable.c | |
parent | e039f7ed8675ddc9d2aa1e60df49dbc8d2836fc7 (diff) | |
download | binutils-856c1545ce00d5c7d9368cdf5cb9dc7181c981e8.zip binutils-856c1545ce00d5c7d9368cdf5cb9dc7181c981e8.tar.gz binutils-856c1545ce00d5c7d9368cdf5cb9dc7181c981e8.tar.bz2 |
bfd_reloc_offset_in_range overflow
This patch is more about the style of bounds checking we ought to use,
rather than a real problem. An overflow of "octet + reloc_size" can
only happen with huge sections which would certainly cause out of
memory errors.
* reloc.c (bfd_reloc_offset_in_range): Avoid possible overflow.
Diffstat (limited to 'gdb/python/py-linetable.c')
0 files changed, 0 insertions, 0 deletions