From ef5e218859a21875aebe107e9a3af173a5236956 Mon Sep 17 00:00:00 2001 From: electron128 Date: Fri, 19 Jun 2015 12:08:34 +0000 Subject: [PATCH] initialise BanListPeer::addr git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8532 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- libretroshare/src/services/p3banlist.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/libretroshare/src/services/p3banlist.cc b/libretroshare/src/services/p3banlist.cc index 70d6f2df9..d7608524c 100644 --- a/libretroshare/src/services/p3banlist.cc +++ b/libretroshare/src/services/p3banlist.cc @@ -131,6 +131,7 @@ class ZeroedInt BanListPeer::BanListPeer() { + memset(&addr, 0, sizeof(addr)); masked_bytes=0; reason=RSBANLIST_REASON_UNKNOWN ; level=RSBANLIST_ORIGIN_UNKNOWN ;