[Scummvm-cvs-logs] SF.net SVN: scummvm:[53146] scummvm/trunk/engines/parallaction/balloons.cpp
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Mon Oct 11 19:07:34 CEST 2010
Revision: 53146
http://scummvm.svn.sourceforge.net/scummvm/?rev=53146&view=rev
Author: lordhoto
Date: 2010-10-11 17:07:34 +0000 (Mon, 11 Oct 2010)
Log Message:
-----------
PARALLACTION: Fix out of bounds access.
This is a partial commit of patch #3085298 "overflows in agi and parallaction".
Modified Paths:
--------------
scummvm/trunk/engines/parallaction/balloons.cpp
Modified: scummvm/trunk/engines/parallaction/balloons.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/balloons.cpp 2010-10-10 23:24:57 UTC (rev 53145)
+++ scummvm/trunk/engines/parallaction/balloons.cpp 2010-10-11 17:07:34 UTC (rev 53146)
@@ -248,7 +248,7 @@
Parallaction_ns *_vm;
static int16 _dialogueBalloonX[5];
- byte _textColors[2];
+ byte _textColors[3];
struct Balloon {
Common::Rect outerBox;
@@ -530,7 +530,7 @@
class BalloonManager_br : public BalloonManager {
Parallaction_br *_vm;
- byte _textColors[2];
+ byte _textColors[3];
struct Balloon {
Common::Rect box;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list