summaryrefslogtreecommitdiff
path: root/indra/llfilesystem/tests/lldir_test.cpp
diff options
context:
space:
mode:
authorJonathan "Geenz" Goodman <geenz@geenzo.com>2025-10-02 15:01:50 -0400
committerJonathan "Geenz" Goodman <geenz@geenzo.com>2025-10-02 15:01:50 -0400
commit18c84a9d6ad2381836a0c8263a8e9cb800b6c28e (patch)
tree6410603aa44e66f726aebe030ecfa31d37db1f68 /indra/llfilesystem/tests/lldir_test.cpp
parentf25c2a56c0c8079163e9ef18f6a9e590341b1e1a (diff)
parent6dba35d74e27125b39860f9a3df176d7f3a087b5 (diff)
Merge branch 'release/2025.07' into project/lua_editor
Diffstat (limited to 'indra/llfilesystem/tests/lldir_test.cpp')
-rw-r--r--indra/llfilesystem/tests/lldir_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llfilesystem/tests/lldir_test.cpp b/indra/llfilesystem/tests/lldir_test.cpp
index 6e191ad096..d7d57fa86f 100644
--- a/indra/llfilesystem/tests/lldir_test.cpp
+++ b/indra/llfilesystem/tests/lldir_test.cpp
@@ -435,7 +435,7 @@ namespace tut
for (counter=0, foundUnused=false; !foundUnused; counter++ )
{
char counterStr[3];
- sprintf(counterStr, "%02d", counter);
+ snprintf(counterStr, sizeof(counterStr), "%02d", counter);
uniqueDir = dirbase + counterStr;
foundUnused = ! ( LLFile::isdir(uniqueDir) || LLFile::isfile(uniqueDir) );
}