From 2879692aa2696af80a1f12daaf88b886412dacb5 Mon Sep 17 00:00:00 2001 From: Tofu Linden Date: Wed, 3 Feb 2010 20:25:04 +0000 Subject: CID-277 Checker: UNINIT_CTOR Function: LLPacketBuffer::LLPacketBuffer(const LLHost &, const char *, int) File: /indra/llmessage/llpacketbuffer.cpp --- indra/llmessage/llpacketbuffer.cpp | 2 ++ 1 file changed, 2 insertions(+) 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... -- cgit v1.2.3