diff options
author | Jacek Antonelli | 2008-08-15 23:44:50 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:44:50 -0500 |
commit | 89fe5dab825a62a0e3fd8d248cbc91c65eb2a426 (patch) | |
tree | bcff14b7888d04a2fec799c59369f6095224bd08 /linden/indra/llmessage/llsdmessagesystem.cpp | |
parent | Second Life viewer sources 1.13.3.2 (diff) | |
download | meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.zip meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.gz meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.bz2 meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.xz |
Second Life viewer sources 1.14.0.0
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llmessage/llsdmessagesystem.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/linden/indra/llmessage/llsdmessagesystem.cpp b/linden/indra/llmessage/llsdmessagesystem.cpp index 7d508f0..66382ea 100644 --- a/linden/indra/llmessage/llsdmessagesystem.cpp +++ b/linden/indra/llmessage/llsdmessagesystem.cpp | |||
@@ -25,6 +25,7 @@ | |||
25 | * COMPLETENESS OR PERFORMANCE. | 25 | * COMPLETENESS OR PERFORMANCE. |
26 | */ | 26 | */ |
27 | 27 | ||
28 | #include "linden_common.h" | ||
28 | #include "llsdmessagesystem.h" | 29 | #include "llsdmessagesystem.h" |
29 | 30 | ||
30 | #include "llhttpnode.h" | 31 | #include "llhttpnode.h" |
@@ -98,7 +99,7 @@ void LLSDMessageSystem::getStringFast(const char *block, const char *var, S32 bu | |||
98 | std::string data = getLLSD(mInput, block, var, blocknum).asString(); | 99 | std::string data = getLLSD(mInput, block, var, blocknum).asString(); |
99 | S32 length = data.length(); | 100 | S32 length = data.length(); |
100 | memset(buffer, 0, buffer_size); | 101 | memset(buffer, 0, buffer_size); |
101 | strncpy(buffer, data.c_str(), llmin(length, buffer_size)); | 102 | strncpy(buffer, data.c_str(), llmin(length, buffer_size)); /* Flawfinder: ignore */ |
102 | } | 103 | } |
103 | 104 | ||
104 | //virtual | 105 | //virtual |