diff options
Diffstat (limited to 'linden/indra/llmessage/llxfer.cpp')
-rw-r--r-- | linden/indra/llmessage/llxfer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linden/indra/llmessage/llxfer.cpp b/linden/indra/llmessage/llxfer.cpp index f02d106..507b820 100644 --- a/linden/indra/llmessage/llxfer.cpp +++ b/linden/indra/llmessage/llxfer.cpp | |||
@@ -135,7 +135,7 @@ S32 LLXfer::receiveData (char *datap, S32 data_size) | |||
135 | { | 135 | { |
136 | if (datap != NULL) | 136 | if (datap != NULL) |
137 | { | 137 | { |
138 | memcpy(&mBuffer[mBufferLength],datap,data_size); | 138 | memcpy(&mBuffer[mBufferLength],datap,data_size); /*Flawfinder: ignore*/ |
139 | mBufferLength += data_size; | 139 | mBufferLength += data_size; |
140 | } | 140 | } |
141 | else | 141 | else |
@@ -212,7 +212,7 @@ void LLXfer::sendPacket(S32 packet_num) | |||
212 | num_copy = llmin(num_copy, (S32)(mBufferLength - desired_read_position)); | 212 | num_copy = llmin(num_copy, (S32)(mBufferLength - desired_read_position)); |
213 | if (num_copy > 0) | 213 | if (num_copy > 0) |
214 | { | 214 | { |
215 | memcpy(fdata_buf,&mBuffer[desired_read_position],num_copy); | 215 | memcpy(fdata_buf,&mBuffer[desired_read_position],num_copy); /*Flawfinder: ignore*/ |
216 | } | 216 | } |
217 | } | 217 | } |
218 | else | 218 | else |
@@ -225,7 +225,7 @@ void LLXfer::sendPacket(S32 packet_num) | |||
225 | (S32)(mBufferLength - desired_read_position)); | 225 | (S32)(mBufferLength - desired_read_position)); |
226 | if (num_copy > 0) | 226 | if (num_copy > 0) |
227 | { | 227 | { |
228 | memcpy( | 228 | memcpy( /*Flawfinder: ignore*/ |
229 | fdata_buf + sizeof(S32), | 229 | fdata_buf + sizeof(S32), |
230 | &mBuffer[desired_read_position], | 230 | &mBuffer[desired_read_position], |
231 | num_copy); | 231 | num_copy); |