projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
402bc38
)
- check that the connection belongs to a tunnel when keeping it alive (otherwise...
author
Bart Polot
<bart@net.in.tum.de>
Mon, 21 Jul 2014 00:15:10 +0000
(
00:15
+0000)
committer
Bart Polot
<bart@net.in.tum.de>
Mon, 21 Jul 2014 00:15:10 +0000
(
00:15
+0000)
src/cadet/gnunet-service-cadet_connection.c
patch
|
blob
|
history
diff --git
a/src/cadet/gnunet-service-cadet_connection.c
b/src/cadet/gnunet-service-cadet_connection.c
index 8eefac411409317797aa3a72457ee9571eb27aa9..005e1cb8d9a9cb06f2b8b19c3268f8d7d991650a 100644
(file)
--- a/
src/cadet/gnunet-service-cadet_connection.c
+++ b/
src/cadet/gnunet-service-cadet_connection.c
@@
-949,6
+949,12
@@
connection_maintain (struct CadetConnection *c, int fwd)
if (GNUNET_NO != c->destroy)
return;
+ if (NULL == c->t)
+ {
+ GNUNET_break (0);
+ return;
+ }
+
if (CADET_TUNNEL_SEARCHING == GCT_get_cstate (c->t))
{
/* TODO DHT GET with RO_BART */