mirror of
https://bitbucket.org/seefoe/src.git
synced 2026-07-30 00:15:46 -04:00
whoops
This commit is contained in:
@@ -875,6 +875,7 @@ bool TreeFile::stripTreeFileSearchPathFromFile(const char *inputPath, char *outp
|
||||
{
|
||||
// make sure the output buffer has enough room
|
||||
int const pathLength = static_cast<int>(strlen(path));
|
||||
int const outputLength = static_cast<int>(strlen(buffer)) - pathLength;
|
||||
if (outputLength > outputPathBufferSize)
|
||||
return false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user