Skip to content
Snippets Groups Projects
Commit c69ee5ce authored by Tofu Linden's avatar Tofu Linden
Browse files

CID-100

Checker: INVALIDATE_ITERATOR
Function: buildBlock(unsigned char *, int, const LLMessageBlock *, LLMsgData *)
File: /indra/llmessage/lltemplatemessagebuilder.cpp
parent 3aed137a
No related branches found
No related tags found
No related merge requests found
......@@ -737,10 +737,14 @@ static S32 buildBlock(U8* buffer, S32 buffer_size, const LLMessageBlock* templat
}
--block_count;
++block_iter;
if (block_iter != message_data->mMemberBlocks.end())
{
mbci = block_iter->second;
++block_iter;
if (block_iter != message_data->mMemberBlocks.end())
{
mbci = block_iter->second;
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment