ubsan: z8k: index 10 out of bounds for type 'unsigned int const[10]'
[deliverable/binutils-gdb.git] / opcodes / ChangeLog
index 220b9f4c5f98423b7bbe4b808e91036634d4a33b..011943d55a8ded64d63094e1836b3f79bd062168 100644 (file)
@@ -1,3 +1,15 @@
+2020-01-08  Alan Modra  <amodra@gmail.com>
+
+       * z8k-dis.c: Include libiberty.h
+       (instr_data_s): Make max_fetched unsigned.
+       (z8k_lookup_instr): Make nibl_index and tabl_index unsigned.
+       Don't exceed byte_info bounds.
+       (output_instr): Make num_bytes unsigned.
+       (unpack_instr): Likewise for nibl_count and loop.
+       * z8kgen.c (gas <opcode_entry_type>): Make noperands, length and
+       idx unsigned.
+       * z8k-opc.h: Regenerate.
+
 2020-01-07  Shahab Vahedi  <shahab@synopsys.com>
 
        * arc-tbl.h (llock): Use 'LLOCK' as class.
This page took 0.03049 seconds and 4 git commands to generate.