diff options
author | Nick Clifton <nickc@redhat.com> | 2021-05-25 11:22:15 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2021-05-25 11:22:15 +0100 |
commit | 74fd118fb91f49377b63931d092b6d42dd8b3b3c (patch) | |
tree | 282cb26ac49bb00a87a1b20623d3f6bca09f3f02 /ld/ChangeLog-2011 | |
parent | cc850f74725370808bd1e11ac9440d75df4cb23e (diff) | |
download | gdb-74fd118fb91f49377b63931d092b6d42dd8b3b3c.zip gdb-74fd118fb91f49377b63931d092b6d42dd8b3b3c.tar.gz gdb-74fd118fb91f49377b63931d092b6d42dd8b3b3c.tar.bz2 |
Add range checks to local array accesses in elf32-arm.c.
bfd * elf32-arn.c (struct elf_arm_obj_tdata): Add num_entries field.
(elf32_arm_num_entries): New macro.
(elf32_arm_allocate_local_sym_info): Initialise the new field.
Allocate arrays individually so that buffer overruns can be
detected by memory checkers.
(elf32_arm_create_local_iplt): Check num_entries.
(elf32_arm_get_plt_info): Likewise.
(elf32_arm_final_link_relocate): Likewise.
(elf32_arm_check_relocs): Likewise.
(elf32_arm_size_dynamic_sections): Likewise.
(elf32_arm_output_arch_local_syms): Likewise.
Diffstat (limited to 'ld/ChangeLog-2011')
0 files changed, 0 insertions, 0 deletions