gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r33705 - gnunet/src/cadet


From: gnunet
Subject: [GNUnet-SVN] r33705 - gnunet/src/cadet
Date: Tue, 17 Jun 2014 16:04:23 +0200

Author: bartpolot
Date: 2014-06-17 16:04:23 +0200 (Tue, 17 Jun 2014)
New Revision: 33705

Modified:
   gnunet/src/cadet/gnunet-service-cadet_tunnel.c
Log:
- fix crash on unexpected malformed PING

Modified: gnunet/src/cadet/gnunet-service-cadet_tunnel.c
===================================================================
--- gnunet/src/cadet/gnunet-service-cadet_tunnel.c      2014-06-17 12:37:15 UTC 
(rev 33704)
+++ gnunet/src/cadet/gnunet-service-cadet_tunnel.c      2014-06-17 14:04:23 UTC 
(rev 33705)
@@ -1812,6 +1812,8 @@
     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;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]