[Scummvm-git-logs] scummvm master -> b4153bef61519bbb16e99eda89d2faae8bf10c73

sev- sev at scummvm.org
Wed Sep 7 09:45:26 CEST 2016


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
b4153bef61 FULLPIPE: Fix invalid read


Commit: b4153bef61519bbb16e99eda89d2faae8bf10c73
    https://github.com/scummvm/scummvm/commit/b4153bef61519bbb16e99eda89d2faae8bf10c73
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2016-09-07T09:45:18+02:00

Commit Message:
FULLPIPE: Fix invalid read

Changed paths:
    engines/fullpipe/statics.cpp



diff --git a/engines/fullpipe/statics.cpp b/engines/fullpipe/statics.cpp
index 25ab6cd..1d88b3b 100644
--- a/engines/fullpipe/statics.cpp
+++ b/engines/fullpipe/statics.cpp
@@ -397,6 +397,9 @@ void StaticANIObject::startMQIfIdle(int qId, int flag) {
 }
 
 bool StaticANIObject::isIdle() {
+	if (_objtype != kObjTypeStaticANIObject)
+		return true;
+
 	if (_messageQueueId) {
 		MessageQueue *m = g_fp->_globalMessageQueueList->getMessageQueueById(_messageQueueId);
 





More information about the Scummvm-git-logs mailing list