Add FS tags for future LL merges
I know it's Linux but we can live in hope right?meow-7.2.2
parent
9ae081ca6c
commit
488bb36c33
|
|
@ -829,10 +829,10 @@ bool unix_post_minidump_callback(const char *dump_dir,
|
|||
auto idLength = strlen(minidump_id);
|
||||
|
||||
// The path must not be truncated, and we need to have room left for a terminating zero.
|
||||
llassert((dirPathLength + idLength + 5) < LLApp::MAX_MINDUMP_PATH_LENGTH);
|
||||
llassert((dirPathLength + idLength + 5) < LLApp::MAX_MINDUMP_PATH_LENGTH); // <FS:Beq/> Buffer overrun avoidance (from Aleric Inglewood)
|
||||
|
||||
char * path = LLApp::instance()->getMiniDumpFilename();
|
||||
auto remaining = LLApp::MAX_MINDUMP_PATH_LENGTH - 1;
|
||||
auto remaining = LLApp::MAX_MINDUMP_PATH_LENGTH - 1; // <FS:Beq/> Buffer overrun avoidance (from Aleric Inglewood
|
||||
strncpy(path, dump_dir, remaining);
|
||||
remaining -= dirPathLength;
|
||||
path += dirPathLength;
|
||||
|
|
|
|||
Loading…
Reference in New Issue