From 2d01a4219166a43792df372a0483c90d3dcec8a1 Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Thu, 16 May 2013 17:46:46 +0000 Subject: [PATCH] - wipe in case of local variable usage --- src/mesh/mesh_common.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesh/mesh_common.c b/src/mesh/mesh_common.c index b4fc40672..228b30aec 100644 --- a/src/mesh/mesh_common.c +++ b/src/mesh/mesh_common.c @@ -55,6 +55,7 @@ GMC_min_pid (uint32_t a, uint32_t b) void GMC_hash32 (uint32_t i, struct GNUNET_HashCode *h) { + memset (h, 0, sizeof(struct GNUNET_HashCode)); *(unsigned int *) h = i; } -- 2.25.1