aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llgenepool.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llgenepool.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/linden/indra/newview/llgenepool.cpp b/linden/indra/newview/llgenepool.cpp
index 33cb70d..2a2c864 100644
--- a/linden/indra/newview/llgenepool.cpp
+++ b/linden/indra/newview/llgenepool.cpp
@@ -56,10 +56,10 @@ LLGenePool::~LLGenePool()
56 56
57BOOL LLGenePool::load() 57BOOL LLGenePool::load()
58{ 58{
59 char filename[MAX_PATH]; 59 char filename[MAX_PATH]; /*Flawfinder: ignore*/
60
61 strcpy(filename,gDirUtilp->getExpandedFilename(LL_PATH_CHARACTER,"genepool.xml").c_str());
62 60
61 strncpy(filename,gDirUtilp->getExpandedFilename(LL_PATH_CHARACTER,"genepool.xml").c_str(), sizeof(filename) -1); /*Flawfinder: ignore*/
62 filename[sizeof(filename) -1] = '\0';
63 if( mLoaded ) 63 if( mLoaded )
64 { 64 {
65 return TRUE; 65 return TRUE;