mirror of
https://github.com/SWG-Source/src.git
synced 2026-07-28 22:15:49 -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