From 21e47177687ac553303005941b971092e973575a Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Wed, 3 Jun 2020 21:19:09 +0200 Subject: [PATCH] Don't crash when trying to connect a channel to port 0. --- src/utcp.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/utcp.c b/src/utcp.c index f81150bf..ec74923d 100644 --- a/src/utcp.c +++ b/src/utcp.c @@ -423,7 +423,6 @@ static int compare(const void *va, const void *vb) { const struct utcp_connection *b = *(struct utcp_connection **)vb; assert(a && b); - assert(a->src && b->src); int c = (int)a->src - (int)b->src; -- 2.39.5