PR 26504
* vax-dis.c (parse_disassembler_options): Always add at least one
to entry_addr_total_slots.
+2020-08-25 Alan Modra <amodra@gmail.com>
+
+ PR 26504
+ * vax-dis.c (parse_disassembler_options): Always add at least one
+ to entry_addr_total_slots.
+
2020-08-24 Cooper Qu <cooper.qu@linux.alibaba.com>
* csky-dis.c (csky_find_inst_info): Skip CK860's instructions
if (entry_addr_occupied_slots >= entry_addr_total_slots)
{
/* A guesstimate of the number of entries we will have to create. */
- entry_addr_total_slots +=
- strlen (options) / (strlen (entry_switch) + 5);
+ entry_addr_total_slots
+ += 1 + strlen (options) / (strlen (entry_switch) + 5);
entry_addr = realloc (entry_addr, sizeof (bfd_vma)
* entry_addr_total_slots);