From a09b94eff726f2390fc9300883cba7cd429af5d3 Mon Sep 17 00:00:00 2001
From: Tofu Linden <tofu.linden@lindenlab.com>
Date: Fri, 29 Jan 2010 15:37:28 -0800
Subject: [PATCH] CID-305

Checker: UNINIT_CTOR
Function: LLSrvRecord::LLSrvRecord(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, 5 insertions(+), 1 deletion(-)

diff --git a/indra/llmessage/llares.cpp b/indra/llmessage/llares.cpp
index b29eb300fc8..00e77d20e9d 100644
--- a/indra/llmessage/llares.cpp
+++ b/indra/llmessage/llares.cpp
@@ -704,7 +704,11 @@ int LLAaaaRecord::parse(const char *buf, size_t len, const char *pos,
 }
 
 LLSrvRecord::LLSrvRecord(const std::string &name, unsigned ttl)
-	: LLHostRecord(RES_SRV, name, ttl)
+	: LLHostRecord(RES_SRV, name, ttl),
+
+	  mPriority(0),
+	  mWeight(0),
+	  mPort(0)
 {
 }
 
-- 
GitLab