diff options
author | Nick Clifton <nickc@redhat.com> | 2014-11-11 20:50:03 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2014-11-11 20:50:03 +0000 |
commit | 8b73c35699b4b1da558be29ac3c90aee0e0e1e49 (patch) | |
tree | 682cad04b41f297844e31e7e6c3958a8f9b0195d /bfd/netbsd.h | |
parent | 51b26797b4a05304e4d00e2fd77810e38147bb7f (diff) | |
download | gdb-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/netbsd.h')
0 files changed, 0 insertions, 0 deletions