diff options
author | Jacek Antonelli | 2008-08-15 23:44:56 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:44:56 -0500 |
commit | c07901e29ed545bbb02e3bddf148fe1104b94e9f (patch) | |
tree | f1ada64ce834acd7d92a425efb96c4b86bcf16b1 /linden/indra/llmessage/llxfer_mem.cpp | |
parent | Second Life viewer sources 1.15.0.2 (diff) | |
download | meta-impy-c07901e29ed545bbb02e3bddf148fe1104b94e9f.zip meta-impy-c07901e29ed545bbb02e3bddf148fe1104b94e9f.tar.gz meta-impy-c07901e29ed545bbb02e3bddf148fe1104b94e9f.tar.bz2 meta-impy-c07901e29ed545bbb02e3bddf148fe1104b94e9f.tar.xz |
Second Life viewer sources 1.15.1.3
Diffstat (limited to 'linden/indra/llmessage/llxfer_mem.cpp')
-rw-r--r-- | linden/indra/llmessage/llxfer_mem.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/linden/indra/llmessage/llxfer_mem.cpp b/linden/indra/llmessage/llxfer_mem.cpp index e9b4224..0f055c8 100644 --- a/linden/indra/llmessage/llxfer_mem.cpp +++ b/linden/indra/llmessage/llxfer_mem.cpp | |||
@@ -162,7 +162,8 @@ S32 LLXfer_Mem::initializeRequest(U64 xfer_id, | |||
162 | mCallbackDataHandle = user_data; | 162 | mCallbackDataHandle = user_data; |
163 | mCallbackResult = LL_ERR_NOERR; | 163 | mCallbackResult = LL_ERR_NOERR; |
164 | 164 | ||
165 | strncpy(mRemoteFilename, remote_filename.c_str(), LL_MAX_PATH); /* Flawfinder : ignore */ | 165 | strncpy(mRemoteFilename, remote_filename.c_str(), LL_MAX_PATH-1); |
166 | mRemoteFilename[LL_MAX_PATH-1] = '\0'; // stupid strncpy. | ||
166 | mRemotePath = remote_path; | 167 | mRemotePath = remote_path; |
167 | mDeleteRemoteOnCompletion = delete_remote_on_completion; | 168 | mDeleteRemoteOnCompletion = delete_remote_on_completion; |
168 | 169 | ||