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

CID-277

Checker: UNINIT_CTOR
Function: LLPacketBuffer::LLPacketBuffer(const LLHost &, const char *, int)
File: /indra/llmessage/llpacketbuffer.cpp
parent eab2f01b
No related branches found
No related tags found
No related merge requests found
......@@ -44,6 +44,8 @@ LLPacketBuffer::LLPacketBuffer(const LLHost &host, const char *datap, const S32
{
if (size > NET_BUFFER_SIZE)
{
mSize = 0;
mData[0] = 0;
llerrs << "Sending packet > " << NET_BUFFER_SIZE << " of size " << size << llendl;
}
else // we previously relied on llerrs being fatal to not get here...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment