From 1d533334357b72d162bcf05e05d4cea37e17fbf4 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Wed, 11 Jun 2014 23:01:22 +0300 Subject: FULLPIPE: Copy string safely. CID 1208909 --- engines/fullpipe/sound.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') 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) -- cgit v1.2.3