| commit | 74a965d8e09217f3d8f8295c9126b77cdd62b798 | [log] [tgz] |
|---|---|---|
| author | Alan Modra <amodra@gmail.com> | Thu Jun 01 23:31:47 2023 +0930 |
| committer | Alan Modra <amodra@gmail.com> | Fri Jun 02 09:41:49 2023 +0930 |
| tree | fc28edb8fc77b293015a3ca3792dda85421dfa85 | |
| parent | 56e4ccc924d47c30e7446efe771397d2de141762 [diff] |
loongarch readelf support This fixes two buffer overflows found by fuzzers. * readelf.c (target_specific_reloc_handling): Sanity check loongarch reloc symbol index. Don't apply reloc after errors. Reduce translation work of "invalid symbol index" error message.