Initialize restored_packet in nack_rtx_unittest.cc.

This is to get the DrMemory Full bots to go green, this was previously
suppressed. This fix is likely hiding a real bug that should be
investigated, but it's not a regression from before. The issue should
not be closed before we figure out why this is the case and revert this
"fix".

TBR=stefan@webrtc.org
BUG=3183

Review URL: https://webrtc-codereview.appspot.com/30369004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7169 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/tools/valgrind-webrtc/drmemory/suppressions.txt b/tools/valgrind-webrtc/drmemory/suppressions.txt
index 90831d1..e76a8e8 100644
--- a/tools/valgrind-webrtc/drmemory/suppressions.txt
+++ b/tools/valgrind-webrtc/drmemory/suppressions.txt
@@ -859,62 +859,6 @@
 *!testing::internal::HandleSehExceptionsInMethodIfSupported<>
 
 UNINITIALIZED READ
-name=https://code.google.com/p/webrtc/issues/detail?id=3183 (1)
-*!webrtc::RTPReceiverVideo::ReceiveGenericCodec
-*!webrtc::RTPReceiverVideo::ParseVideoCodecSpecific
-*!webrtc::RTPReceiverVideo::ParseRtpPacket
-*!webrtc::RtpReceiverImpl::IncomingRtpPacket
-*!RtxLoopBackTransport::SendPacket
-*!webrtc::RTPSender::SendPacketToNetwork
-*!webrtc::RTPSender::SendToNetwork
-*!webrtc::RTPSenderVideo::SendVideoPacket
-*!webrtc::RTPSenderVideo::SendGeneric
-*!webrtc::RTPSenderVideo::SendVideo
-*!webrtc::RTPSender::SendOutgoingData
-*!webrtc::ModuleRtpRtcpImpl::SendOutgoingData
-*!RtpRtcpRtxNackTest_LongNackList_Test::TestBody
-*!testing::internal::HandleSehExceptionsInMethodIfSupported<>
-
-UNINITIALIZED READ
-name=name=https://code.google.com/p/webrtc/issues/detail?id=3183 (2)
-*!webrtc::RTPReceiverVideo::ReceiveGenericCodec
-*!webrtc::RTPReceiverVideo::ParseVideoCodecSpecific
-*!webrtc::RTPReceiverVideo::ParseRtpPacket
-*!webrtc::RtpReceiverImpl::IncomingRtpPacket
-*!RtxLoopBackTransport::SendPacket
-*!webrtc::RTPSender::SendPacketToNetwork
-*!webrtc::RTPSender::PrepareAndSendPacket
-*!webrtc::RTPSender::ReSendPacket
-*!webrtc::RTPSender::OnReceivedNACK
-*!webrtc::ModuleRtpRtcpImpl::OnReceivedNACK
-*!webrtc::RTCPReceiver::TriggerCallbacksFromRTCPPacket
-*!webrtc::ModuleRtpRtcpImpl::IncomingRtcpPacket
-*!RtxLoopBackTransport::SendRTCPPacket
-*!webrtc::RTCPSender::SendToNetwork
-*!webrtc::RTCPSender::SendRTCP
-*!webrtc::ModuleRtpRtcpImpl::SendNACK
-*!RtpRtcpRtxNackTest_LongNackList_Test::TestBody
-*!testing::internal::HandleSehExceptionsInMethodIfSupported<>
-
-UNINITIALIZED READ
-name=name=https://code.google.com/p/webrtc/issues/detail?id=3183 (3)
-*!webrtc::RTPReceiverVideo::ReceiveGenericCodec
-*!webrtc::RTPReceiverVideo::ParseVideoCodecSpecific
-*!webrtc::RTPReceiverVideo::ParseRtpPacket
-*!webrtc::RtpReceiverImpl::IncomingRtpPacket
-*!RtxLoopBackTransport::SendPacket
-*!webrtc::RTPSender::SendPacketToNetwork
-*!webrtc::RTPSender::SendToNetwork
-*!webrtc::RTPSenderVideo::SendVideoPacket
-*!webrtc::RTPSenderVideo::SendGeneric
-*!webrtc::RTPSenderVideo::SendVideo
-*!webrtc::RTPSender::SendOutgoingData
-*!webrtc::ModuleRtpRtcpImpl::SendOutgoingData
-*!RtpRtcpRtxNackTest::RunRtxTest
-*!RtpRtcpRtxNackTest_RtxNack_Test::TestBody
-*!testing::internal::HandleSehExceptionsInMethodIfSupported<>
-
-UNINITIALIZED READ
 name=https://code.google.com/p/webrtc/issues/detail?id=3490 (1)
 drmemorylib.dll!replace_memcmp
 *!talk_base::AsyncWriteTest_TestWrite_Test::TestBody
diff --git a/webrtc/modules/rtp_rtcp/source/nack_rtx_unittest.cc b/webrtc/modules/rtp_rtcp/source/nack_rtx_unittest.cc
index 209af40..b30791c 100644
--- a/webrtc/modules/rtp_rtcp/source/nack_rtx_unittest.cc
+++ b/webrtc/modules/rtp_rtcp/source/nack_rtx_unittest.cc
@@ -112,7 +112,10 @@
       return len;
     }
     int packet_length = len;
-    uint8_t restored_packet[1500];
+    // TODO(pbos): Figure out why this needs to be initialized. Likely this
+    // is hiding a bug either in test setup or other code.
+    // https://code.google.com/p/webrtc/issues/detail?id=3183
+    uint8_t restored_packet[1500] = {0};
     uint8_t* restored_packet_ptr = restored_packet;
     RTPHeader header;
     scoped_ptr<RtpHeaderParser> parser(RtpHeaderParser::Create());