[Scummvm-cvs-logs] SF.net SVN: scummvm:[55658] scummvm/trunk/engines/sword1/screen.cpp
tdhs at users.sourceforge.net
tdhs at users.sourceforge.net
Sun Jan 30 15:41:27 CET 2011
Revision: 55658
http://scummvm.svn.sourceforge.net/scummvm/?rev=55658&view=rev
Author: tdhs
Date: 2011-01-30 14:41:27 +0000 (Sun, 30 Jan 2011)
Log Message:
-----------
SWORD1: Fix possible uninitialized memory read in Screen object.
This was detected during playtest with Valgrind during Act 5 (Spain).
Modified Paths:
--------------
scummvm/trunk/engines/sword1/screen.cpp
Modified: scummvm/trunk/engines/sword1/screen.cpp
===================================================================
--- scummvm/trunk/engines/sword1/screen.cpp 2011-01-30 13:54:39 UTC (rev 55657)
+++ scummvm/trunk/engines/sword1/screen.cpp 2011-01-30 14:41:27 UTC (rev 55658)
@@ -55,6 +55,8 @@
_updatePalette = false;
_psxCache.decodedBackground = NULL;
_psxCache.extPlxCache = NULL;
+ _oldScrollX = 0;
+ _oldScrollY = 0;
}
Screen::~Screen() {
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