diff options
author | Eugene Sandulenko | 2014-06-09 22:34:21 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2014-06-09 22:34:21 +0300 |
commit | df5ef5bf2e440de933685451a2b31dd3af695ecd (patch) | |
tree | 44ae9777974beab98835622f27128c7239a8b110 | |
parent | c41ebe6f452d40cb84359aeff909e21cf6c4db29 (diff) | |
download | scummvm-rg350-df5ef5bf2e440de933685451a2b31dd3af695ecd.tar.gz scummvm-rg350-df5ef5bf2e440de933685451a2b31dd3af695ecd.tar.bz2 scummvm-rg350-df5ef5bf2e440de933685451a2b31dd3af695ecd.zip |
FULLPIPE: Safely copy strings
-rw-r--r-- | engines/fullpipe/sound.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/fullpipe/sound.cpp b/engines/fullpipe/sound.cpp index 65c9bf84ca..a3f0f2a963 100644 --- a/engines/fullpipe/sound.cpp +++ b/engines/fullpipe/sound.cpp @@ -268,7 +268,7 @@ void FullpipeEngine::setSceneMusicParameters(GameVar *gvar) { while (sub) { if (_musicAllowed & sub->_value.intValue) { - strcpy(_sceneTracks[_numSceneTracks], sub->_varName); + strncpy(_sceneTracks[_numSceneTracks], sub->_varName, 260); _numSceneTracks++; } |