aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorArnaud Boutonné2010-10-15 06:08:42 +0000
committerArnaud Boutonné2010-10-15 06:08:42 +0000
commit6049a370b364b84a2d71aa9a5a9db83b704fbe78 (patch)
tree58fdb73498b4f2d3727507467b72e5d59991f9d2 /engines
parentbacbf0890071c51f064bb13d7c341e7d8cdf1da2 (diff)
downloadscummvm-rg350-6049a370b364b84a2d71aa9a5a9db83b704fbe78.tar.gz
scummvm-rg350-6049a370b364b84a2d71aa9a5a9db83b704fbe78.tar.bz2
scummvm-rg350-6049a370b364b84a2d71aa9a5a9db83b704fbe78.zip
HUGO: Fix NULL pointer dereferencing
svn-id: r53466
Diffstat (limited to 'engines')
-rw-r--r--engines/hugo/file.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/hugo/file.cpp b/engines/hugo/file.cpp
index fa8d5b9947..9165640f3f 100644
--- a/engines/hugo/file.cpp
+++ b/engines/hugo/file.cpp
@@ -203,6 +203,7 @@ void FileManager::readImage(int objNum, object_t *objPtr) {
}
}
}
+ assert(seqPtr);
seqPtr->nextSeqPtr = objPtr->seqList[j].seqPtr; // loop linked list to head
}