summaryrefslogtreecommitdiff
path: root/src/namecache/namecache_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/namecache/namecache_api.c')
-rw-r--r--src/namecache/namecache_api.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/namecache/namecache_api.c b/src/namecache/namecache_api.c
index fdbf142a7..70c848037 100644
--- a/src/namecache/namecache_api.c
+++ b/src/namecache/namecache_api.c
@@ -228,6 +228,7 @@ handle_lookup_block_response (void *cls,
char buf[size] GNUNET_ALIGN;
struct GNUNET_GNSRECORD_Block *block;
+ memset (buf, 0, size);
block = (struct GNUNET_GNSRECORD_Block *) buf;
GNUNET_memcpy (block,
&msg[1],