diff options
-rw-r--r-- | indra/llmessage/llpacketbuffer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llmessage/llpacketbuffer.cpp b/indra/llmessage/llpacketbuffer.cpp index 027d35cf89..60ced66318 100644 --- a/indra/llmessage/llpacketbuffer.cpp +++ b/indra/llmessage/llpacketbuffer.cpp @@ -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... |