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/llbuffer.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 '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 | } |