aboutsummaryrefslogtreecommitdiff
path: root/engines/sword2/sword2.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2017-08-06 12:00:32 +0200
committerTorbjörn Andersson2017-08-06 12:00:32 +0200
commit4fb0d1e56f83ac7d5edd06b6d5a2e8019bbddf37 (patch)
treece75ce709c6817040f5f299be206c9a955599cbb /engines/sword2/sword2.cpp
parentb4c1e86d9f8f51e67a2086301fab30a415b04581 (diff)
downloadscummvm-rg350-4fb0d1e56f83ac7d5edd06b6d5a2e8019bbddf37.tar.gz
scummvm-rg350-4fb0d1e56f83ac7d5edd06b6d5a2e8019bbddf37.tar.bz2
scummvm-rg350-4fb0d1e56f83ac7d5edd06b6d5a2e8019bbddf37.zip
JANITORIAL: Increase buffer size to fix potential overflow
Caught by GCC 7 (though the warning seemed misleading to me). Since SoundDesc->name can potentially be 14 characters "%s_reg%03d.fla" can be 25 characters, plus the terminating \0.
Diffstat (limited to 'engines/sword2/sword2.cpp')
0 files changed, 0 insertions, 0 deletions