Fix a potential illegal memory access in the Z80 assembler.
authorSergey Belyashov <sergey.belyashov@gmail.com>
Tue, 3 Mar 2020 13:09:19 +0000 (13:09 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 3 Mar 2020 13:09:19 +0000 (13:09 +0000)
commit8326546ebb46bba75a01e441960f408dd7ccdf2c
treeaac8145ec911372273633cbc84f602177c787139
parentd8e4137b5efc2dd5e99c45534cdccbdfcc814f1a
Fix a potential illegal memory access in the Z80 assembler.

PR 25604
* config/tc-z80.c (contains_register): Prevent an illegal memory
access when checking an expression for a register name.
gas/ChangeLog
gas/config/tc-z80.c