Skip to content

Commit

Permalink
Issue mikeakohn#128: Z80 - Increase size of bytes[] to avoid buffer o…
Browse files Browse the repository at this point in the history
…verflow.
  • Loading branch information
mikeakohn committed Oct 5, 2024
1 parent 34f2555 commit 080401e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions disasm/z80.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@ void list_output_z80(
{
int cycles_min,cycles_max;
char instruction[128];
char bytes[16];
char bytes[32];
int count;
int n;

Expand Down Expand Up @@ -702,7 +702,7 @@ void disasm_range_z80(
uint32_t end)
{
char instruction[128];
char bytes[10];
char bytes[32];
int cycles_min = 0, cycles_max = 0;
int count;
int n;
Expand Down

0 comments on commit 080401e

Please sign in to comment.