diff options
author | Alan Modra <amodra@gmail.com> | 2018-12-16 23:02:50 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2018-12-17 12:49:38 +1030 |
commit | 3a551c7a1b80fca579461774860574eabfd7f18f (patch) | |
tree | 5d0b9463f405cd293b2571a6dd3dc04cb914d695 /gdb/nat | |
parent | 40b9228581bb9bfaa3a444a6a19a9b41ebc68c40 (diff) | |
download | gdb-3a551c7a1b80fca579461774860574eabfd7f18f.zip gdb-3a551c7a1b80fca579461774860574eabfd7f18f.tar.gz gdb-3a551c7a1b80fca579461774860574eabfd7f18f.tar.bz2 |
PR23994, libbfd integer overflow
PR 23994
* aoutx.h: Include limits.h.
(get_reloc_upper_bound): Detect long overflow and return a file
too big error if it occurs.
* elf.c: Include limits.h.
(_bfd_elf_get_symtab_upper_bound): Detect long overflow and return
a file too big error if it occurs.
(_bfd_elf_get_dynamic_symtab_upper_bound): Likewise.
(_bfd_elf_get_dynamic_reloc_upper_bound): Likewise.
Diffstat (limited to 'gdb/nat')
0 files changed, 0 insertions, 0 deletions