aboutsummaryrefslogtreecommitdiff
path: root/src/rps
diff options
context:
space:
mode:
authorJulius Bünger <buenger@mytum.de>2015-08-03 14:30:15 +0000
committerJulius Bünger <buenger@mytum.de>2015-08-03 14:30:15 +0000
commit937b425c919c45cf15c633da83777341a300ecf2 (patch)
tree049022f0063fa358194f6a6430fb7d64b42c482a /src/rps
parent25fcc61c80ead51e496f8e350e051893e052198c (diff)
downloadgnunet-937b425c919c45cf15c633da83777341a300ecf2.tar.gz
gnunet-937b425c919c45cf15c633da83777341a300ecf2.zip
-fix malicious peer
Diffstat (limited to 'src/rps')
-rw-r--r--src/rps/gnunet-service-rps.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rps/gnunet-service-rps.c b/src/rps/gnunet-service-rps.c
index 97f687b7b..befe6926d 100644
--- a/src/rps/gnunet-service-rps.c
+++ b/src/rps/gnunet-service-rps.c
@@ -1567,6 +1567,8 @@ handle_peer_push (void *cls,
1567 { /* Try to maximise representation */ 1567 { /* Try to maximise representation */
1568 if (NULL == att_peer_set) 1568 if (NULL == att_peer_set)
1569 att_peer_set = GNUNET_CONTAINER_multipeermap_create (1, GNUNET_NO); 1569 att_peer_set = GNUNET_CONTAINER_multipeermap_create (1, GNUNET_NO);
1570 if (NULL == mal_peer_set)
1571 mal_peer_set = GNUNET_CONTAINER_multipeermap_create (1, GNUNET_NO);
1570 if (GNUNET_NO == GNUNET_CONTAINER_multipeermap_contains (att_peer_set, 1572 if (GNUNET_NO == GNUNET_CONTAINER_multipeermap_contains (att_peer_set,
1571 peer)) 1573 peer))
1572 { 1574 {