From fd5523ae0a9dbed4c8ec670aab9fe6fc6bce76aa Mon Sep 17 00:00:00 2001 From: csoler Date: Fri, 23 Apr 2010 13:13:36 +0000 Subject: [PATCH] suppressed uninitialized memory read git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2765 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- libretroshare/src/upnp/upnphandler.cc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libretroshare/src/upnp/upnphandler.cc b/libretroshare/src/upnp/upnphandler.cc index b76236101..2772c81a7 100644 --- a/libretroshare/src/upnp/upnphandler.cc +++ b/libretroshare/src/upnp/upnphandler.cc @@ -256,8 +256,11 @@ bool upnphandler::shutdown_upnp() */ upnphandler::upnphandler() - :toEnable(false), toStart(false), toStop(false), - eport(0),iport(0), eport_curr(0) + : + upnpState(RS_UPNP_S_UNINITIALISED), + cUPnPControlPoint(NULL), + toEnable(false), toStart(false), toStop(false), + iport(0),eport(0), eport_curr(0) { }