[Scummvm-cvs-logs] SF.net SVN: scummvm: [21833] scummvm/trunk/engines/cine/various.cpp
eriktorbjorn at users.sourceforge.net
eriktorbjorn at users.sourceforge.net
Wed Apr 12 15:08:17 CEST 2006
Revision: 21833
Author: eriktorbjorn
Date: 2006-04-12 15:07:41 -0700 (Wed, 12 Apr 2006)
ViewCVS: http://svn.sourceforge.net/scummvm/?rev=21833&view=rev
Log Message:
-----------
Fixed potential crash in drawDialogueMessage(): The function should terminate
if, for some reason, messagePtr is NULL.
Modified Paths:
--------------
scummvm/trunk/engines/cine/various.cpp
Modified: scummvm/trunk/engines/cine/various.cpp
===================================================================
--- scummvm/trunk/engines/cine/various.cpp 2006-04-12 22:06:30 UTC (rev 21832)
+++ scummvm/trunk/engines/cine/various.cpp 2006-04-12 22:07:41 UTC (rev 21833)
@@ -2384,6 +2384,7 @@
if (!messagePtr) {
freeOverlay(msgIdx, 2);
+ return;
}
var20 += strlen(messagePtr);
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