Fix potentially illegal shift and assign operation in CSKY disassembler.
authorNick Clifton <nickc@redhat.com>
Mon, 28 Oct 2019 16:45:55 +0000 (16:45 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 28 Oct 2019 16:45:55 +0000 (16:45 +0000)
commit1ee3542c0a3830cac933ae56cc5f29e9c3f7c6ca
tree49bbee946b943145c67ba8dfdf6fe45f200c1bbb
parentbbf9a0b5eef3599a1c6a7a3bea40da9f2c37df83
Fix potentially illegal shift and assign operation in CSKY disassembler.

* csky-dis.c (csky_chars_to_number): Check for a negative
count. Use an unsigned integer to construct the return value.
opcodes/ChangeLog
opcodes/csky-dis.c