From ca1ad0bfbaa547c85f962f4cae2a91720815496b Mon Sep 17 00:00:00 2001 From: zeromus Date: Mon, 18 May 2009 05:34:51 +0000 Subject: [PATCH] win32: fix buffer overflow in savestate description generation --- desmume/src/windows/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desmume/src/windows/main.cpp b/desmume/src/windows/main.cpp index 80efdb091..b17cb45a6 100644 --- a/desmume/src/windows/main.cpp +++ b/desmume/src/windows/main.cpp @@ -1360,7 +1360,7 @@ void ResetSaveStateTimes() void LoadSaveStateInfo() { scan_savestates(); - char ntxt[22]; + char ntxt[128]; for(int i = 0; i < NB_STATES; i++) { if(savestates[i].exists)