diff options
| author | Erik Kundiman <erik@megapahit.org> | 2025-09-29 16:29:19 +0800 | 
|---|---|---|
| committer | Erik Kundiman <erik@megapahit.org> | 2025-10-01 16:56:56 +0800 | 
| commit | a954d290674db08ecaf3c1e6484a0cb6647b88b5 (patch) | |
| tree | 3b672bac3e7d6807cd485ad5f041f69a5c729f46 /indra/llfilesystem/tests | |
| parent | e6eaa7e29990431b5207dbb4f8ae5560cf884acb (diff) | |
| parent | a6d4c1d394eef2cea41f6c6bcd751fec746ec17d (diff) | |
Merge tag 'Second_Life_Release#a6d4c1d3-2025.07' into 2025.07
Diffstat (limited to 'indra/llfilesystem/tests')
| -rw-r--r-- | indra/llfilesystem/tests/lldir_test.cpp | 2 | 
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) );        }  | 
