1
0
mirror of https://github.com/simh/simh.git synced 2026-02-27 01:00:07 +00:00

AltairZ80: m68k: Avoid buffer overflow detected by gcc 9.4.0.

This commit is contained in:
Howard M. Harte
2023-07-04 23:15:54 -07:00
committed by Mark Pizzolato
parent 329a0f815b
commit 4eb8c65be8

View File

@@ -3773,7 +3773,7 @@ unsigned int m68k_disassemble(char* str_buff, unsigned int pc, unsigned int cpu_
char* m68ki_disassemble_quick(unsigned int pc, unsigned int cpu_type)
{
static char buff[100];
static char buff[200];
buff[0] = 0;
m68k_disassemble(buff, pc, cpu_type);
return buff;