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:
a04a68c
)
- fix crash on unexpected malformed PING
author
Bart Polot
<bart@net.in.tum.de>
Tue, 17 Jun 2014 14:04:23 +0000
(14:04 +0000)
committer
Bart Polot
<bart@net.in.tum.de>
Tue, 17 Jun 2014 14:04:23 +0000
(14:04 +0000)
src/cadet/gnunet-service-cadet_tunnel.c
patch
|
blob
|
history
diff --git
a/src/cadet/gnunet-service-cadet_tunnel.c
b/src/cadet/gnunet-service-cadet_tunnel.c
index 80c19b1a34ac64ef02a853cb3ed23fa36e8a0752..6b9aaa252ec979898aedac4e205405b1a9ee4cad 100644
(file)
--- a/
src/cadet/gnunet-service-cadet_tunnel.c
+++ b/
src/cadet/gnunet-service-cadet_tunnel.c
@@
-1812,6
+1812,8
@@
handle_ping (struct CadetTunnel *t,
LOG (GNUNET_ERROR_TYPE_DEBUG, " e towards %s\n", GNUNET_i2s (&msg->target));
LOG (GNUNET_ERROR_TYPE_DEBUG, " got %u\n", res.nonce);
LOG (GNUNET_ERROR_TYPE_DEBUG, " towards %s\n", GNUNET_i2s (&res.target));
LOG (GNUNET_ERROR_TYPE_DEBUG, " e towards %s\n", GNUNET_i2s (&msg->target));
LOG (GNUNET_ERROR_TYPE_DEBUG, " got %u\n", res.nonce);
LOG (GNUNET_ERROR_TYPE_DEBUG, " towards %s\n", GNUNET_i2s (&res.target));
+ if (NULL == t->kx_ctx)
+ create_kx_ctx (t);
send_ephemeral (t);
send_ping (t);
return;
send_ephemeral (t);
send_ping (t);
return;