aboutsummaryrefslogtreecommitdiff
path: root/bfd/m68klinux.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2014-11-11 20:50:03 +0000
committerNick Clifton <nickc@redhat.com>2014-11-11 20:50:03 +0000
commit8b73c35699b4b1da558be29ac3c90aee0e0e1e49 (patch)
tree682cad04b41f297844e31e7e6c3958a8f9b0195d /bfd/m68klinux.c
parent51b26797b4a05304e4d00e2fd77810e38147bb7f (diff)
downloadgdb-8b73c35699b4b1da558be29ac3c90aee0e0e1e49.zip
gdb-8b73c35699b4b1da558be29ac3c90aee0e0e1e49.tar.gz
gdb-8b73c35699b4b1da558be29ac3c90aee0e0e1e49.tar.bz2
Fix invalid memory accesses for more corrupt binary files.
PR binutils/17531 * binutils/readelf.c (dynamic_nent): Change type to size_t. (slurp_rela_relocs): Use size_t type for nrelas. (slurp_rel_relocs): Likewise. (get_program_headers): Improve out of memory error message. (get_32bit_section_headers): Likewise. (get_32bit_section_headers): Likewise. (get_64bit_section_headers): Likewise. (get_32bit_elf_symbols): Likewise. (get_64bit_elf_symbols): Likewise. (process_section_groups): Likewise. (get_32bit_dynamic_section): Likewise. (get_64bit_dynamic_section): Likewise. (process_dynamic_section): Likewise. (process_version_sections): Likewise. (get_symbol_index_type): Likewise. (process_mips_specific): Likewise. (process_corefile_note_segment): Likewise. (process_version_sections): Use size_t type for total. (get_dynamic_data): Change type of number parameter to size_t. Improve out of memory error messages. (process_symbol_table): Change type of nbuckets and nchains to size_t. Skip processing of sections headers if there are none. Improve out of memory error messages.
Diffstat (limited to 'bfd/m68klinux.c')
0 files changed, 0 insertions, 0 deletions