From 1ce9515685408241495d7c6929bb37cb694d9006 Mon Sep 17 00:00:00 2001
From: Tofu Linden <tofu.linden@lindenlab.com>
Date: Fri, 29 Jan 2010 15:35:36 -0800
Subject: [PATCH] CID-306

Checker: UNINIT_CTOR
Function: LLAddrRecord::LLAddrRecord(LLResType, const std::basic_string<char, std::char_traits<char>, std::allocator<char>>&, unsigned int)
File: /indra/llmessage/llares.cpp
---
 indra/llmessage/llares.cpp | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/indra/llmessage/llares.cpp b/indra/llmessage/llares.cpp
index 52edfc86b9c..b29eb300fc8 100644
--- a/indra/llmessage/llares.cpp
+++ b/indra/llmessage/llares.cpp
@@ -642,8 +642,10 @@ LLPtrRecord::LLPtrRecord(const std::string &name, unsigned ttl)
 }
 
 LLAddrRecord::LLAddrRecord(LLResType type, const std::string &name,
-						   unsigned ttl)
-	: LLDnsRecord(type, name, ttl)
+			   unsigned ttl)
+	: LLDnsRecord(type, name, ttl),
+
+	  mSize(0)
 {
 }
 
-- 
GitLab