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:
committed by
Mark Pizzolato
parent
329a0f815b
commit
4eb8c65be8
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user