diff options
author | Max Horn | 2009-05-04 15:05:25 +0000 |
---|---|---|
committer | Max Horn | 2009-05-04 15:05:25 +0000 |
commit | 27b74756d8039fe5aaed61bd4866087c64226faf (patch) | |
tree | 2dce7dcaffea5d7b5bb1040a6eb767ca1e73ba4a /engines | |
parent | 6e6a8f8d6cb791bdbecb86da49cd769f6813f8b2 (diff) | |
download | scummvm-rg350-27b74756d8039fe5aaed61bd4866087c64226faf.tar.gz scummvm-rg350-27b74756d8039fe5aaed61bd4866087c64226faf.tar.bz2 scummvm-rg350-27b74756d8039fe5aaed61bd4866087c64226faf.zip |
TINSEL: Added FIXME comment about a valgrind warning (calling strcpy on overlapping strings is unsafe)
svn-id: r40307
Diffstat (limited to 'engines')
-rw-r--r-- | engines/tinsel/detection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tinsel/detection.cpp b/engines/tinsel/detection.cpp index e02eec44a3..01c4209321 100644 --- a/engines/tinsel/detection.cpp +++ b/engines/tinsel/detection.cpp @@ -604,7 +604,7 @@ const ADGameDescription *TinselMetaEngine::fallbackDetect(const Common::FSList & char tempFilename[50]; strcpy(tempFilename, fileDesc->fileName); char *pOne = strchr(tempFilename, '1'); - if (pOne) strcpy(pOne, pOne + 1); + if (pOne) strcpy(pOne, pOne + 1); // FIXME: Valgrind complains about this Common::String fname(tempFilename); if (allFiles.contains(fname) && !filesSizeMD5.contains(fname)) { |