commit | 577bf39f10c6d50a52866eb8fc32d6d1e34bb215 | [log] [tgz] |
---|---|---|
author | Nelson Chu <nelson.chu@sifive.com> | Sun Nov 21 23:31:32 2021 -0800 |
committer | Nelson Chu <nelson.chu@sifive.com> | Mon Nov 22 17:27:13 2021 +0800 |
tree | e775d36f2573a76d0bb0e0cbbcd909166daec0e5 | |
parent | bab31d145160cd4dec7b9ad0e79346382ebf8385 [diff] |
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.