From 2e30e0fc7d121bb9ed27f868cc8652230066d1d6 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Mon, 9 Jun 2014 22:36:01 +0300 Subject: [PATCH] FULLPIPE: Safely copy string. CID 1208908 --- engines/fullpipe/sound.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/fullpipe/sound.cpp b/engines/fullpipe/sound.cpp index a3f0f2a963f..b7641d53278 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++; }