aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Bünger <buenger@mytum.de>2015-05-20 15:52:13 +0000
committerJulius Bünger <buenger@mytum.de>2015-05-20 15:52:13 +0000
commitc8be0a0d42d7bf5ca96cc050fc12d71a43d8dca3 (patch)
treefb3efcecbe8d261fcceca5255a58b54145dca93a
parent974098b7298a13068154c9a4b3cef85b6f6d9bfd (diff)
downloadgnunet-c8be0a0d42d7bf5ca96cc050fc12d71a43d8dca3.tar.gz
gnunet-c8be0a0d42d7bf5ca96cc050fc12d71a43d8dca3.zip
-fixed coverity Uninitialized pointer read
-rw-r--r--src/rps/gnunet-service-rps.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rps/gnunet-service-rps.c b/src/rps/gnunet-service-rps.c
index 45f20eb2e..b8bfe8f9e 100644
--- a/src/rps/gnunet-service-rps.c
+++ b/src/rps/gnunet-service-rps.c
@@ -1880,6 +1880,7 @@ do_mal_round (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
1880 } 1880 }
1881 1881
1882 /* Send PULLs to some peers to learn about additional peers to attack */ 1882 /* Send PULLs to some peers to learn about additional peers to attack */
1883 tmp_att_peer = att_peer_index;
1883 for (i = 0 ; i < num_pushes * alpha ; i++) 1884 for (i = 0 ; i < num_pushes * alpha ; i++)
1884 { 1885 {
1885 if (att_peers_tail == tmp_att_peer) 1886 if (att_peers_tail == tmp_att_peer)