diff options
author | Julius Bünger <buenger@mytum.de> | 2015-05-20 15:52:13 +0000 |
---|---|---|
committer | Julius Bünger <buenger@mytum.de> | 2015-05-20 15:52:13 +0000 |
commit | c8be0a0d42d7bf5ca96cc050fc12d71a43d8dca3 (patch) | |
tree | fb3efcecbe8d261fcceca5255a58b54145dca93a /src | |
parent | 974098b7298a13068154c9a4b3cef85b6f6d9bfd (diff) | |
download | gnunet-c8be0a0d42d7bf5ca96cc050fc12d71a43d8dca3.tar.gz gnunet-c8be0a0d42d7bf5ca96cc050fc12d71a43d8dca3.zip |
-fixed coverity Uninitialized pointer read
Diffstat (limited to 'src')
-rw-r--r-- | src/rps/gnunet-service-rps.c | 1 |
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) |