diff options
author | Nelson Chu <nelson.chu@sifive.com> | 2021-11-21 23:31:32 -0800 |
---|---|---|
committer | Nelson Chu <nelson.chu@sifive.com> | 2021-11-22 17:27:13 +0800 |
commit | 577bf39f10c6d50a52866eb8fc32d6d1e34bb215 (patch) | |
tree | e775d36f2573a76d0bb0e0cbbcd909166daec0e5 /gdb/nat | |
parent | bab31d145160cd4dec7b9ad0e79346382ebf8385 (diff) | |
download | gdb-577bf39f10c6d50a52866eb8fc32d6d1e34bb215.zip gdb-577bf39f10c6d50a52866eb8fc32d6d1e34bb215.tar.gz gdb-577bf39f10c6d50a52866eb8fc32d6d1e34bb215.tar.bz2 |
RISC-V: PR28610, Fix ASAN heap-buffer-overflow error in riscv_update_subset.
The architecture parser in riscv_update_subset shouldn't check (or access)
the pointer space which doesn't exist.
bfd/
pr 28610
* elfxx-riscv.c (riscv_update_subset): The architecture parser
shouldn't access the pointer space which doesn't exist.
Diffstat (limited to 'gdb/nat')
0 files changed, 0 insertions, 0 deletions