Fix an illegal memory access when accessing corrupt dynamic secondary relocations.
authorNick Clifton <nickc@redhat.com>
Mon, 23 Nov 2020 14:07:02 +0000 (14:07 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 23 Nov 2020 14:07:02 +0000 (14:07 +0000)
commitf60742b2a1988d276c77d5c1011143f320d9b4cb
tree1d6169dbfb83984efad1a4bbdac29c562650433b
parentcbf097d7b024fad33d13cc43ff0d35f2e0b11898
Fix an illegal memory access when accessing corrupt dynamic secondary relocations.

PR 26931
* elf-bfd.h (struct elf_backend_data): Add bfd_boolean field to
slurp_secondary_relocs field.
(_bfd_elf_slurp_secondary_reloc_section): Update prototype.
* elf.c (_bfd_elf_slurp_secondary_reloc_section): Add new
parameter.  Compute number of symbols based upon the new
parameter.
* elfcode.h (elf_slurp_reloc_table): Pass dynamic as new
parameter.
bfd/ChangeLog
bfd/elf-bfd.h
bfd/elf.c
bfd/elfcode.h
This page took 0.028895 seconds and 4 git commands to generate.