From 488bb36c33ff1921a92cce7897e0cd2cad2d4ae0 Mon Sep 17 00:00:00 2001 From: Beq Date: Thu, 24 Aug 2023 19:44:12 +0100 Subject: [PATCH] Add FS tags for future LL merges I know it's Linux but we can live in hope right? --- indra/llcommon/llapp.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/indra/llcommon/llapp.cpp b/indra/llcommon/llapp.cpp index b910b9903b..e3bb661c63 100644 --- a/indra/llcommon/llapp.cpp +++ b/indra/llcommon/llapp.cpp @@ -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); // 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; // Buffer overrun avoidance (from Aleric Inglewood strncpy(path, dump_dir, remaining); remaining -= dirPathLength; path += dirPathLength;