From c8be0a0d42d7bf5ca96cc050fc12d71a43d8dca3 Mon Sep 17 00:00:00 2001 From: Julius Bünger Date: Wed, 20 May 2015 15:52:13 +0000 Subject: -fixed coverity Uninitialized pointer read --- src/rps/gnunet-service-rps.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/rps') 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) } /* Send PULLs to some peers to learn about additional peers to attack */ + tmp_att_peer = att_peer_index; for (i = 0 ; i < num_pushes * alpha ; i++) { if (att_peers_tail == tmp_att_peer) -- cgit v1.2.3