aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe
diff options
context:
space:
mode:
authorEugene Sandulenko2014-06-09 22:36:01 +0300
committerEugene Sandulenko2014-06-09 22:36:01 +0300
commit2e30e0fc7d121bb9ed27f868cc8652230066d1d6 (patch)
tree770afada343cb8245b240725c2af8fa6d98d4ef5 /engines/fullpipe
parentdf5ef5bf2e440de933685451a2b31dd3af695ecd (diff)
downloadscummvm-rg350-2e30e0fc7d121bb9ed27f868cc8652230066d1d6.tar.gz
scummvm-rg350-2e30e0fc7d121bb9ed27f868cc8652230066d1d6.tar.bz2
scummvm-rg350-2e30e0fc7d121bb9ed27f868cc8652230066d1d6.zip
FULLPIPE: Safely copy string. CID 1208908
Diffstat (limited to 'engines/fullpipe')
-rw-r--r--engines/fullpipe/sound.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/fullpipe/sound.cpp b/engines/fullpipe/sound.cpp
index a3f0f2a963..b7641d5327 100644
--- a/engines/fullpipe/sound.cpp
+++ b/engines/fullpipe/sound.cpp
@@ -432,7 +432,7 @@ void FullpipeEngine::playTrack(GameVar *sceneVar, const char *name, bool delayed
while (sub) {
if (_musicAllowed & sub->_value.intValue) {
- strcpy(_sceneTracks[_numSceneTracks], sub->_varName);
+ strcpy(_sceneTracks[_numSceneTracks], sub->_varName, 260);
_numSceneTracks++;
}