gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r36191 - gnunet/src/rps


From: gnunet
Subject: [GNUnet-SVN] r36191 - gnunet/src/rps
Date: Mon, 3 Aug 2015 16:30:15 +0200

Author: ch3
Date: 2015-08-03 16:30:15 +0200 (Mon, 03 Aug 2015)
New Revision: 36191

Modified:
   gnunet/src/rps/gnunet-service-rps.c
Log:
-fix malicious peer

Modified: gnunet/src/rps/gnunet-service-rps.c
===================================================================
--- gnunet/src/rps/gnunet-service-rps.c 2015-08-03 12:06:34 UTC (rev 36190)
+++ gnunet/src/rps/gnunet-service-rps.c 2015-08-03 14:30:15 UTC (rev 36191)
@@ -1567,6 +1567,8 @@
   { /* Try to maximise representation */
     if (NULL == att_peer_set)
       att_peer_set = GNUNET_CONTAINER_multipeermap_create (1, GNUNET_NO);
+    if (NULL == mal_peer_set)
+      mal_peer_set = GNUNET_CONTAINER_multipeermap_create (1, GNUNET_NO);
     if (GNUNET_NO == GNUNET_CONTAINER_multipeermap_contains (att_peer_set,
                                                              peer))
     {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]