aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llmessage/lltemplatemessagereader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/llmessage/lltemplatemessagereader.cpp')
-rw-r--r--linden/indra/llmessage/lltemplatemessagereader.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/linden/indra/llmessage/lltemplatemessagereader.cpp b/linden/indra/llmessage/lltemplatemessagereader.cpp
index 7a7d3bb..12ffcfa 100644
--- a/linden/indra/llmessage/lltemplatemessagereader.cpp
+++ b/linden/indra/llmessage/lltemplatemessagereader.cpp
@@ -675,8 +675,7 @@ BOOL LLTemplateMessageReader::decodeData(const U8* buffer, const LLHost& sender
675 675
676 // default to 0s. 676 // default to 0s.
677 U32 size = mvci.getSize(); 677 U32 size = mvci.getSize();
678 std::vector<U8> data(size); 678 std::vector<U8> data(size, 0);
679 memset(&(data[0]), 0, size);
680 cur_data_block->addData(mvci.getName(), &(data[0]), 679 cur_data_block->addData(mvci.getName(), &(data[0]),
681 size, mvci.getType()); 680 size, mvci.getType());
682 } 681 }