gnunet

Main GNUnet Logic
Log | Files | Refs | Submodules | README | LICENSE

commit 47426257d88896d0797d218119849f45223bb414
parent a04a68cde96fedc090e3ae6d243e33ba6946f628
Author: Bart Polot <bart@net.in.tum.de>
Date:   Tue, 17 Jun 2014 14:04:23 +0000

- fix crash on unexpected malformed PING

Diffstat:
Msrc/cadet/gnunet-service-cadet_tunnel.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git 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)); + if (NULL == t->kx_ctx) + create_kx_ctx (t); send_ephemeral (t); send_ping (t); return;