gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r36855 - gnunet/src/rps
Date: Thu, 21 Jan 2016 10:18:39 +0100

Author: harsha
Date: 2016-01-21 10:18:39 +0100 (Thu, 21 Jan 2016)
New Revision: 36855

Modified:
   gnunet/src/rps/test_rps.c
Log:
rps tests: Add fixmes

Modified: gnunet/src/rps/test_rps.c
===================================================================
--- gnunet/src/rps/test_rps.c   2016-01-21 08:43:27 UTC (rev 36854)
+++ gnunet/src/rps/test_rps.c   2016-01-21 09:18:39 UTC (rev 36855)
@@ -499,8 +499,10 @@
 
   in_shutdown = GNUNET_YES;
   if (NULL != churn_task)
+  {
     GNUNET_SCHEDULER_cancel (churn_task);
-
+    churn_task = NULL;
+  }
   for (i = 0; i < num_peers; i++)
     if (NULL != rps_peers[i].op)
       GNUNET_TESTBED_operation_done (rps_peers[i].op);
@@ -1520,7 +1522,9 @@
        (3 == mal_type))
     target_peer = &rps_peer_ids[num_peers - 2];
   if (profiler_eval == cur_test_run.eval_cb)
-    eval_peer = &rps_peers[num_peers - 1];
+    eval_peer = &rps_peers[num_peers - 1];    /* FIXME: eval_peer could be a
+                                                 malicious peer if not careful
+                                                 with the malicious portion */
 
   ok = 1;
   (void) GNUNET_TESTBED_test_run (cur_test_run.name,




reply via email to

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