aboutsummaryrefslogtreecommitdiff
path: root/ar-lib
diff options
context:
space:
mode:
authorJohn Darrington <john@darrington.wattle.id.au>2019-04-29 16:05:54 +0200
committerJohn Darrington <john@darrington.wattle.id.au>2019-04-29 16:10:21 +0200
commit4a90ce955e5bcde074b8616ff9d20f9939a9a358 (patch)
treec44101f47bfff2e3b577d3e2f6ee75b3b40d6ef9 /ar-lib
parent637d4b78c55640b9d858546a65d51024a70b5247 (diff)
downloadbinutils-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