diff options
author | Nick Clifton <nickc@redhat.com> | 2021-09-07 09:44:17 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2021-09-07 09:44:17 +0100 |
commit | 3f1a2892e1fea343880b276474cb44db3abcaa9a (patch) | |
tree | e11dc9e68b1a50e11e3e2e8aad6e804764ee8dd0 /gdbserver | |
parent | 5d2deb81fa143e592414fd987c2899c839eb433e (diff) | |
download | gdb-3f1a2892e1fea343880b276474cb44db3abcaa9a.zip gdb-3f1a2892e1fea343880b276474cb44db3abcaa9a.tar.gz gdb-3f1a2892e1fea343880b276474cb44db3abcaa9a.tar.bz2 |
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.
Diffstat (limited to 'gdbserver')
0 files changed, 0 insertions, 0 deletions