From bd74de2226a6c37fce318d9de8e6e40e1ce9e20a Mon Sep 17 00:00:00 2001 From: Zrax Date: Thu, 7 Apr 2011 15:37:34 -0700 Subject: [PATCH] Missed one of these (cherry picked from commit 7b48da6cb21a1b26ebea2134cdf889a258a8c39f) --- Sources/Plasma/PubUtilLib/plStatGather/plProfileManagerFull.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Plasma/PubUtilLib/plStatGather/plProfileManagerFull.cpp b/Sources/Plasma/PubUtilLib/plStatGather/plProfileManagerFull.cpp index d592c588..f2f26392 100644 --- a/Sources/Plasma/PubUtilLib/plStatGather/plProfileManagerFull.cpp +++ b/Sources/Plasma/PubUtilLib/plStatGather/plProfileManagerFull.cpp @@ -460,7 +460,7 @@ const wchar* plProfileManagerFull::GetProfilePath() void plProfileManagerFull::ILogStats() { wchar statFilename[256]; - swprintf(statFilename, L"%s%s.csv", GetProfilePath(), fLogAgeName.c_str()); + swprintf(statFilename, 256, L"%s%s.csv", GetProfilePath(), fLogAgeName.c_str()); bool exists = plFileUtils::FileExists(statFilename);