From: Bart Polot Date: Thu, 16 May 2013 17:46:46 +0000 (+0000) Subject: - wipe in case of local variable usage X-Git-Tag: initial-import-from-subversion-38251~9004 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2d01a4219166a43792df372a0483c90d3dcec8a1;p=oweals%2Fgnunet.git - wipe in case of local variable usage --- 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; }