mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-07 14:12:43 -04:00
fxed uninitialized memory read in p3NetMgr
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6202 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
bc8c569db3
commit
22befbfdf4
1 changed files with 2 additions and 0 deletions
|
@ -130,6 +130,8 @@ p3NetMgrIMPL::p3NetMgrIMPL()
|
||||||
mOldNatHole = RSNET_NATHOLE_UNKNOWN;
|
mOldNatHole = RSNET_NATHOLE_UNKNOWN;
|
||||||
mLocalAddr.sin_port = 0;
|
mLocalAddr.sin_port = 0;
|
||||||
mLocalAddr.sin_addr.s_addr = 0;
|
mLocalAddr.sin_addr.s_addr = 0;
|
||||||
|
mExtAddr.sin_port = 0;
|
||||||
|
mExtAddr.sin_addr.s_addr = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef NETMGR_DEBUG
|
#ifdef NETMGR_DEBUG
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue