diff options
author | Alan Modra <amodra@gmail.com> | 2023-12-05 16:32:34 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2023-12-05 18:20:51 +1030 |
commit | db4ab410dec3554bf38f69879de2306ce5e25b7e (patch) | |
tree | 247c49ec4664f65be5d3743b4fef84f023081374 /bfd/configure.ac | |
parent | 1024d59cb2478887bb778d68d49ccf95fc7d5a26 (diff) | |
download | gdb-db4ab410dec3554bf38f69879de2306ce5e25b7e.zip gdb-db4ab410dec3554bf38f69879de2306ce5e25b7e.tar.gz gdb-db4ab410dec3554bf38f69879de2306ce5e25b7e.tar.bz2 |
alpha_ecoff_get_relocated_section_contents buffer overflow
This is aimed at fixing holes in two alpha-ecoff relocation functions
that access section contents without first bounds checking offsets.
I've also rewritten ALPHA_R_OP_STORE handling to support writing to
the bytes near the end of the section.
* coff-alpha.c (alpha_ecoff_get_relocated_section_contents): Don't
bother checking ALPHA_R_LITERAL insn. Range check before reading
contents for ALPHA_R_GPDISP, and simplify handling. Rewrite
ALPHA_R_OP_STORE handling. Correct error callback args.
(alpha_relocate_section): Similarly. Don't abort, report errors.
Diffstat (limited to 'bfd/configure.ac')
0 files changed, 0 insertions, 0 deletions