diff options
author | Nick Clifton <nickc@redhat.com> | 2017-06-15 11:52:02 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2017-06-15 11:52:02 +0100 |
commit | 08c7881b814c546efc3996fd1decdf0877f7a779 (patch) | |
tree | 3079daa6b2609cb1640640067beb800818a333b1 /zlib/gzread.c | |
parent | 37de058ab2e9619fbb6dea52ec2773a5d65619c4 (diff) | |
download | gdb-08c7881b814c546efc3996fd1decdf0877f7a779.zip gdb-08c7881b814c546efc3996fd1decdf0877f7a779.tar.gz gdb-08c7881b814c546efc3996fd1decdf0877f7a779.tar.bz2 |
Prevent invalid array accesses when disassembling a corrupt bfin binary.
PR binutils/21586
* bfin-dis.c (gregs): Clip index to prevent overflow.
(regs): Likewise.
(regs_lo): Likewise.
(regs_hi): Likewise.
Diffstat (limited to 'zlib/gzread.c')
0 files changed, 0 insertions, 0 deletions