[Scummvm-cvs-logs] SF.net SVN: scummvm:[53466] scummvm/trunk/engines/hugo/file.cpp

strangerke at users.sourceforge.net strangerke at users.sourceforge.net
Fri Oct 15 08:08:43 CEST 2010


Revision: 53466
          http://scummvm.svn.sourceforge.net/scummvm/?rev=53466&view=rev
Author:   strangerke
Date:     2010-10-15 06:08:42 +0000 (Fri, 15 Oct 2010)

Log Message:
-----------
HUGO: Fix NULL pointer dereferencing

Modified Paths:
--------------
    scummvm/trunk/engines/hugo/file.cpp

Modified: scummvm/trunk/engines/hugo/file.cpp
===================================================================
--- scummvm/trunk/engines/hugo/file.cpp	2010-10-15 05:50:19 UTC (rev 53465)
+++ scummvm/trunk/engines/hugo/file.cpp	2010-10-15 06:08:42 UTC (rev 53466)
@@ -203,6 +203,7 @@
 				}
 			}
 		}
+		assert(seqPtr);
 		seqPtr->nextSeqPtr = objPtr->seqList[j].seqPtr; // loop linked list to head
 	}
 


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