diff options
Diffstat (limited to 'linden/indra/llmessage/llbuffer.cpp')
-rw-r--r-- | linden/indra/llmessage/llbuffer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linden/indra/llmessage/llbuffer.cpp b/linden/indra/llmessage/llbuffer.cpp index 07c730a..3dd34a0 100644 --- a/linden/indra/llmessage/llbuffer.cpp +++ b/linden/indra/llmessage/llbuffer.cpp | |||
@@ -109,7 +109,7 @@ LLHeapBuffer::LLHeapBuffer(const U8* src, S32 len) | |||
109 | allocate(len); | 109 | allocate(len); |
110 | if(mBuffer) | 110 | if(mBuffer) |
111 | { | 111 | { |
112 | memcpy(mBuffer, src, len); | 112 | memcpy(mBuffer, src, len); /*Flawfinder: ignore*/ |
113 | } | 113 | } |
114 | } | 114 | } |
115 | else | 115 | else |
@@ -735,7 +735,7 @@ bool LLBufferArray::copyIntoBuffers( | |||
735 | } | 735 | } |
736 | segments.push_back(segment); | 736 | segments.push_back(segment); |
737 | S32 bytes = llmin(segment.size(), len); | 737 | S32 bytes = llmin(segment.size(), len); |
738 | memcpy(segment.data(), src + copied, bytes); /* Flawfinder Ignore */ | 738 | memcpy(segment.data(), src + copied, bytes); /* Flawfinder: Ignore */ |
739 | copied += bytes; | 739 | copied += bytes; |
740 | len -= bytes; | 740 | len -= bytes; |
741 | if(0 == len) | 741 | if(0 == len) |
@@ -757,7 +757,7 @@ bool LLBufferArray::copyIntoBuffers( | |||
757 | return false; | 757 | return false; |
758 | } | 758 | } |
759 | segments.push_back(segment); | 759 | segments.push_back(segment); |
760 | memcpy(segment.data(), src + copied, segment.size()); | 760 | memcpy(segment.data(), src + copied, segment.size()); /*Flawfinder: ignore*/ |
761 | copied += segment.size(); | 761 | copied += segment.size(); |
762 | len -= segment.size(); | 762 | len -= segment.size(); |
763 | } | 763 | } |