diff options
author | John Darrington <john@darrington.wattle.id.au> | 2019-04-29 16:05:54 +0200 |
---|---|---|
committer | John Darrington <john@darrington.wattle.id.au> | 2019-04-29 16:10:21 +0200 |
commit | 4a90ce955e5bcde074b8616ff9d20f9939a9a358 (patch) | |
tree | c44101f47bfff2e3b577d3e2f6ee75b3b40d6ef9 /ar-lib | |
parent | 637d4b78c55640b9d858546a65d51024a70b5247 (diff) | |
download | binutils-4a90ce955e5bcde074b8616ff9d20f9939a9a358.zip binutils-4a90ce955e5bcde074b8616ff9d20f9939a9a358.tar.gz binutils-4a90ce955e5bcde074b8616ff9d20f9939a9a358.tar.bz2 |
S12Z: Opcodes: Fix crash when trying to decode a truncated operation.
opcodes/
* s12z-opc.c (shift_discrim): Return OP_INVALID when reading fails.
gas/
* testsuite/gas/s12z/truncated.d: New file.
* testsuite/gas/s12z/truncated.s: New file.
* testsuite/gas/s12z/s12z.exp: Add new test.
Diffstat (limited to 'ar-lib')
0 files changed, 0 insertions, 0 deletions