aboutsummaryrefslogtreecommitdiff
path: root/gas/write.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2020-06-01 14:21:50 +0930
committerAlan Modra <amodra@gmail.com>2020-06-01 23:33:28 +0930
commit2fdb65f247379befd548a33ea185172968b9ebb9 (patch)
treeadc90cec8f4d5c1b596aa7551852f73003f88ec8 /gas/write.c
parent3c3d03769e4d6fea4c8ee97bf36a2ca7d572461c (diff)
downloadgdb-2fdb65f247379befd548a33ea185172968b9ebb9.zip
gdb-2fdb65f247379befd548a33ea185172968b9ebb9.tar.gz
gdb-2fdb65f247379befd548a33ea185172968b9ebb9.tar.bz2
alpha-vms: ETIR checks
Better validity checks, and remove a fuzzer vulnerability of sorts that targeted the store-immediate-repeat command with a zero length but very large repeat counts to chew cpu. * vms-alpha.c (_bfd_vms_slurp_etir): Check bound for the current command against cmd_length, not the end of record. For ETIR__C_STO_IMMR check size against cmd_length, mask repeat count to 32-bits and break out on zero size. Add ETIR__C_STC_LP_PSB cmd_length test.
Diffstat (limited to 'gas/write.c')
0 files changed, 0 insertions, 0 deletions