From 22befbfdf4df3ee0b6fc3abec4d6e15fb2f30b26 Mon Sep 17 00:00:00 2001 From: csoler Date: Sun, 10 Mar 2013 22:21:07 +0000 Subject: [PATCH] fxed uninitialized memory read in p3NetMgr git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6202 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- libretroshare/src/pqi/p3netmgr.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libretroshare/src/pqi/p3netmgr.cc b/libretroshare/src/pqi/p3netmgr.cc index 9efdbe487..a142071ff 100644 --- a/libretroshare/src/pqi/p3netmgr.cc +++ b/libretroshare/src/pqi/p3netmgr.cc @@ -130,6 +130,8 @@ p3NetMgrIMPL::p3NetMgrIMPL() mOldNatHole = RSNET_NATHOLE_UNKNOWN; mLocalAddr.sin_port = 0; mLocalAddr.sin_addr.s_addr = 0; + mExtAddr.sin_port = 0; + mExtAddr.sin_addr.s_addr = 0; } #ifdef NETMGR_DEBUG