diff options
author | Bart Polot <bart@net.in.tum.de> | 2012-09-26 09:42:28 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2012-09-26 09:42:28 +0000 |
commit | 9889a6ac1a1fcb240c5c0cf2fbeca7156767160c (patch) | |
tree | 10f07ef1bf52b4216339b2036ae058711c1966c6 /src | |
parent | fc41416a25081b5727d50ebee57a64651c0ef3c3 (diff) | |
download | gnunet-9889a6ac1a1fcb240c5c0cf2fbeca7156767160c.tar.gz gnunet-9889a6ac1a1fcb240c5c0cf2fbeca7156767160c.zip |
- dont send uninitialized memory
Diffstat (limited to 'src')
-rw-r--r-- | src/mesh/gnunet-service-mesh.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesh/gnunet-service-mesh.c b/src/mesh/gnunet-service-mesh.c index 9e60b38d9..96a191c35 100644 --- a/src/mesh/gnunet-service-mesh.c +++ b/src/mesh/gnunet-service-mesh.c | |||
@@ -4451,6 +4451,7 @@ send_core_path_create (void *cls, size_t size, void *buf) | |||
4451 | if (GNUNET_YES == t->nobuffer) | 4451 | if (GNUNET_YES == t->nobuffer) |
4452 | opt |= MESH_TUNNEL_OPT_NOBUFFER; | 4452 | opt |= MESH_TUNNEL_OPT_NOBUFFER; |
4453 | msg->opt = htonl(opt); | 4453 | msg->opt = htonl(opt); |
4454 | msg->reserved = 0; | ||
4454 | 4455 | ||
4455 | peer_ptr = (struct GNUNET_PeerIdentity *) &msg[1]; | 4456 | peer_ptr = (struct GNUNET_PeerIdentity *) &msg[1]; |
4456 | for (i = 0; i < p->length; i++) | 4457 | for (i = 0; i < p->length; i++) |