From b92729bc3154fddd792be3bf88bd1a2ada15fc07 Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Mon, 2 Apr 2012 09:15:57 +0000 Subject: [PATCH] - assertion causing crash, see mantis 0002244 --- src/transport/plugin_transport_udp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.25.1