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:
e0a04a7
)
multicast: fix replay_req_remove_cadet()
author
tg(x)
<*@tg-x.net>
Tue, 28 Feb 2017 14:34:40 +0000
(15:34 +0100)
committer
tg(x)
<*@tg-x.net>
Tue, 28 Feb 2017 14:34:40 +0000
(15:34 +0100)
src/multicast/gnunet-service-multicast.c
patch
|
blob
|
history
diff --git
a/src/multicast/gnunet-service-multicast.c
b/src/multicast/gnunet-service-multicast.c
index b068f13083e72b557ca586532d857b2aeb125a1a..3f356af834c6232be9649ac9a2be0bd8869298ed 100644
(file)
--- a/
src/multicast/gnunet-service-multicast.c
+++ b/
src/multicast/gnunet-service-multicast.c
@@
-464,6
+464,9
@@
replay_key_hash (uint64_t fragment_id, uint64_t message_id,
static int
replay_req_remove_cadet (struct Channel *chn)
{
+ if (NULL == chn || NULL == chn->group)
+ return GNUNET_SYSERR;
+
struct GNUNET_CONTAINER_MultiHashMap *
grp_replay_req = GNUNET_CONTAINER_multihashmap_get (replay_req_cadet,
&chn->group->pub_key_hash);