projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
228ee93
)
- wipe in case of local variable usage
author
Bart Polot
<bart@net.in.tum.de>
Thu, 16 May 2013 17:46:46 +0000
(17:46 +0000)
committer
Bart Polot
<bart@net.in.tum.de>
Thu, 16 May 2013 17:46:46 +0000
(17:46 +0000)
src/mesh/mesh_common.c
patch
|
blob
|
history
diff --git
a/src/mesh/mesh_common.c
b/src/mesh/mesh_common.c
index b4fc406720a5508c2e7567a615068402c2d838e1..228b30aec97d9e1a4ad24833dfaea990a4ab46d4 100644
(file)
--- 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;
}