1
0
mirror of https://github.com/open-simh/simh.git synced 2026-01-11 23:53:30 +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 Paul Koning
parent f3e2c45d23
commit f8a9f9bbe7

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;