Checker: UNINIT_CTOR
Function: LLPacketBuffer::LLPacketBuffer(const LLHost &, const char *, int)
File: /indra/llmessage/llpacketbuffer.cpp
meow-7.2.2
Tofu Linden 2010-02-03 20:25:04 +00:00
parent eab2f01b19
commit 2879692aa2
1 changed files with 2 additions and 0 deletions

View File

@ -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...