mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-05 15:48:51 +00:00
fixes small memory overwrite of gekko disasm
all this sprintf stuff is unsafe :( dunno if there are other places with similar problems... git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@982 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
5129341a9c
commit
645f621481
1 changed files with 2 additions and 2 deletions
2
Externals/Bochs_disasm/PowerPCDisasm.cpp
vendored
2
Externals/Bochs_disasm/PowerPCDisasm.cpp
vendored
|
@ -2210,7 +2210,7 @@ namespace PPCDisasm
|
|||
|
||||
const char *DisassembleGekko(unsigned int opcode, unsigned int curInstAddr)
|
||||
{
|
||||
char opcodeStr[32], operandStr[32];
|
||||
char opcodeStr[64], operandStr[64];
|
||||
PPCDisasm::DisasmPara_PPC dp;
|
||||
static char buf[128];
|
||||
static unsigned int opc, adr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue