mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 22:28:10 +00:00
FULLPIPE: Safely copy string. CID 1208908
This commit is contained in:
parent
df5ef5bf2e
commit
2e30e0fc7d
@ -432,7 +432,7 @@ void FullpipeEngine::playTrack(GameVar *sceneVar, const char *name, bool delayed
|
|||||||
|
|
||||||
while (sub) {
|
while (sub) {
|
||||||
if (_musicAllowed & sub->_value.intValue) {
|
if (_musicAllowed & sub->_value.intValue) {
|
||||||
strcpy(_sceneTracks[_numSceneTracks], sub->_varName);
|
strcpy(_sceneTracks[_numSceneTracks], sub->_varName, 260);
|
||||||
|
|
||||||
_numSceneTracks++;
|
_numSceneTracks++;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user