diff options
author | Eugene Sandulenko | 2014-06-11 23:01:22 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2014-06-11 23:01:22 +0300 |
commit | 1d533334357b72d162bcf05e05d4cea37e17fbf4 (patch) | |
tree | 1cb64533920b0153cf7929ec21a703555e1b8ad8 /engines | |
parent | de15b205305c61fdb991d9401fb8cda46dcbac4e (diff) | |
download | scummvm-rg350-1d533334357b72d162bcf05e05d4cea37e17fbf4.tar.gz scummvm-rg350-1d533334357b72d162bcf05e05d4cea37e17fbf4.tar.bz2 scummvm-rg350-1d533334357b72d162bcf05e05d4cea37e17fbf4.zip |
FULLPIPE: Copy string safely. CID 1208909
Diffstat (limited to 'engines')
-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 8e49954bc6..8cbf780529 100644 --- a/engines/fullpipe/sound.cpp +++ b/engines/fullpipe/sound.cpp @@ -286,7 +286,7 @@ void FullpipeEngine::setSceneMusicParameters(GameVar *gvar) { if (seq) { _sceneTrackHasSequence = true; - strcpy(_trackName, seq->_value.stringValue); + Common::strlcpy(_trackName, seq->_value.stringValue, 2600); } if (_musicLocal) |