From 7bb30921a18d6dc824031a4f24126a3c115f9df8 Mon Sep 17 00:00:00 2001 From: thunder2 Date: Wed, 3 Jun 2015 14:15:17 +0000 Subject: [PATCH] Added missing mutex in p3BanList::removeIpRange git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8352 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- libretroshare/src/services/p3banlist.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libretroshare/src/services/p3banlist.cc b/libretroshare/src/services/p3banlist.cc index a016eee1d..ca8157ab9 100644 --- a/libretroshare/src/services/p3banlist.cc +++ b/libretroshare/src/services/p3banlist.cc @@ -359,6 +359,8 @@ void p3BanList::getBannedIps(std::list &lst) void p3BanList::removeIpRange(const struct sockaddr_storage& addr,int masked_bytes,uint32_t list_type) { + RS_STACK_MUTEX(mBanMtx) ; + std::map::iterator it ; if(list_type == RSBANLIST_TYPE_BLACKLIST)