commit | 3f1a2892e1fea343880b276474cb44db3abcaa9a | [log] [tgz] |
---|---|---|
author | Nick Clifton <nickc@redhat.com> | Tue Sep 07 09:44:17 2021 +0100 |
committer | Nick Clifton <nickc@redhat.com> | Tue Sep 07 09:44:17 2021 +0100 |
tree | e11dc9e68b1a50e11e3e2e8aad6e804764ee8dd0 | |
parent | 5d2deb81fa143e592414fd987c2899c839eb433e [diff] |
Fix illegal memory access triggered by an attempt to disassemble a corrupt RISC-V binary. PR 28303 * elfxx-riscv.c (riscv_elf_add_sub_reloc): Add check for out of range relocs.