Fix a potential illegal memory access whilt parsing an x86 insn.
authorLi Hao <li.hao296@zte.com.cn>
Fri, 15 Mar 2019 11:58:05 +0000 (11:58 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 15 Mar 2019 11:58:05 +0000 (11:58 +0000)
commit1c529385d9d7f53efa541d9701ec8c1001581e3e
tree4b1ebe2623663766cff9937e481edfd59a8d6232
parentfe3fef62ad11115fc3b03c0c0dcb9c38b2f544cb
Fix a potential illegal memory access whilt parsing an x86 insn.

PR 24308
* config/tc-i386.c (parse_insn): Check mnemp before using it to
determine if a suffix can be trimmed.
gas/ChangeLog
gas/config/tc-i386.c