diff options
author | Alan Modra <amodra@gmail.com> | 2023-02-02 22:39:31 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2023-02-03 16:11:18 +1030 |
commit | 96e034530e092e8b746e00d13086c1138a84504b (patch) | |
tree | 3c5d4b47c37dd6e90a3319ec5e72a03fe40799a5 /opcodes/riscv-dis.c | |
parent | e0df1fd7842d93495e7b382dc969d7347b53b7bf (diff) | |
download | gdb-96e034530e092e8b746e00d13086c1138a84504b.zip gdb-96e034530e092e8b746e00d13086c1138a84504b.tar.gz gdb-96e034530e092e8b746e00d13086c1138a84504b.tar.bz2 |
Add ECOFF Symbolic Header sanity checks
Anti-fuzzer measures. The checks don't ensure the various elements in
the header are distinct, but that isn't important as far as making
sure we don't overrun the buffer containing all the elements. Also,
we now don't care about offsets where the corresponding count is zero.
* ecoff.c (_bfd_ecoff_slurp_symbolic_info): Sanity check offsets
in debug->symbolic_header.
Diffstat (limited to 'opcodes/riscv-dis.c')
0 files changed, 0 insertions, 0 deletions