diff options
author | Alan Modra <amodra@gmail.com> | 2020-03-22 18:15:41 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2020-03-22 23:22:13 +1030 |
commit | 03704c7704870a0e6cbb0eae99488d544c4adb30 (patch) | |
tree | 6f74ee9792cb6f11a7e1a8386845c0499610cb2d /opcodes/ChangeLog | |
parent | d1023b5d1e4483e5fa3bdab97bc041e1b1c05c5d (diff) | |
download | gdb-03704c7704870a0e6cbb0eae99488d544c4adb30.zip gdb-03704c7704870a0e6cbb0eae99488d544c4adb30.tar.gz gdb-03704c7704870a0e6cbb0eae99488d544c4adb30.tar.bz2 |
NS32K arg_bufs uninitialised
git commit d1e304bc27 was aimed at stopping uninitialised memory
access to the index_offset array. Unfortunately that patch resulted
in a different array being uninitialised for all instructions with
more than two arguments.
* ns32k-dis.c (print_insn_arg): Update comment.
(print_insn_ns32k): Reduce size of index_offset array, and
initialize, passing -1 to print_insn_arg for args that are not
an index. Don't exit arg loop early. Abort on bad arg number.
Diffstat (limited to 'opcodes/ChangeLog')
-rw-r--r-- | opcodes/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 7ca7a64..06b81d7 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,5 +1,12 @@ 2020-03-22 Alan Modra <amodra@gmail.com> + * ns32k-dis.c (print_insn_arg): Update comment. + (print_insn_ns32k): Reduce size of index_offset array, and + initialize, passing -1 to print_insn_arg for args that are not + an index. Don't exit arg loop early. Abort on bad arg number. + +2020-03-22 Alan Modra <amodra@gmail.com> + * s12z-dis.c (abstract_read_memory): Don't print error on EOI. * s12z-opc.c: Formatting. (operands_f): Return an int. |