From: Matthias Wachs Date: Mon, 2 Apr 2012 09:15:57 +0000 (+0000) Subject: - assertion causing crash, see mantis 0002244 X-Git-Tag: initial-import-from-subversion-38251~14034 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b92729bc3154fddd792be3bf88bd1a2ada15fc07;p=oweals%2Fgnunet.git - assertion causing crash, see mantis 0002244 --- diff --git a/src/transport/plugin_transport_udp.c b/src/transport/plugin_transport_udp.c index fb03392a4..5ea2ba8da 100644 --- a/src/transport/plugin_transport_udp.c +++ b/src/transport/plugin_transport_udp.c @@ -1387,7 +1387,8 @@ ack_proc (void *cls, uint32_t id, const struct GNUNET_MessageHeader *msg) &l_ctx); s = l_ctx.res; - GNUNET_assert (s != NULL); + if (NULL == s) + return; if (s->flow_delay_for_other_peer.rel_value <= UINT32_MAX) delay = s->flow_delay_for_other_peer.rel_value;