[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r32235 - gnunet/src/dht
From: |
gnunet |
Subject: |
[GNUnet-SVN] r32235 - gnunet/src/dht |
Date: |
Wed, 5 Feb 2014 18:24:30 +0100 |
Author: bartpolot
Date: 2014-02-05 18:24:30 +0100 (Wed, 05 Feb 2014)
New Revision: 32235
Modified:
gnunet/src/dht/plugin_block_dht.c
Log:
- wipe all previous data in *key so there is no potentially uninilialized memory
Modified: gnunet/src/dht/plugin_block_dht.c
===================================================================
--- gnunet/src/dht/plugin_block_dht.c 2014-02-05 17:24:29 UTC (rev 32234)
+++ gnunet/src/dht/plugin_block_dht.c 2014-02-05 17:24:30 UTC (rev 32235)
@@ -147,6 +147,7 @@
return GNUNET_NO;
}
hello = block;
+ memset (key, 0, sizeof (*key));
pid = (struct GNUNET_PeerIdentity *) key;
if (GNUNET_OK != GNUNET_HELLO_get_id (hello, pid))
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r32235 - gnunet/src/dht,
gnunet <=