aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2013-10-07 23:22:15 +0300
committerEugene Sandulenko2013-10-08 00:11:18 +0300
commit1fd58f7f2e60fa972c77bbf825631214dd4ef40e (patch)
treeb14ba13a6275c7448c71f5ca511fc7a0910637cd
parent8109ffd2532aab439953a1b4f4d867d76e990870 (diff)
downloadscummvm-rg350-1fd58f7f2e60fa972c77bbf825631214dd4ef40e.tar.gz
scummvm-rg350-1fd58f7f2e60fa972c77bbf825631214dd4ef40e.tar.bz2
scummvm-rg350-1fd58f7f2e60fa972c77bbf825631214dd4ef40e.zip
AGI: Fix bad buffer overrun. CID 1004029
-rw-r--r--engines/agi/preagi_mickey.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/agi/preagi_mickey.cpp b/engines/agi/preagi_mickey.cpp
index ed4882fcab..d0f6540651 100644
--- a/engines/agi/preagi_mickey.cpp
+++ b/engines/agi/preagi_mickey.cpp
@@ -850,7 +850,7 @@ void MickeyEngine::drawRoomAnimation() {
}
void MickeyEngine::drawRoom() {
- uint8 buffer[256];
+ uint8 buffer[512];
int pBuf = 0;
int nObjs;