From c6dc6e0b72b89baa94872c7e250b3b59de382499 Mon Sep 17 00:00:00 2001 From: "Schanzenbach, Martin" Date: Sun, 24 Jun 2018 23:11:15 +0200 Subject: [PATCH] revert unnecessary underrun fix --- src/namecache/namecache_api.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/namecache/namecache_api.c b/src/namecache/namecache_api.c index 6e4ebeae0..2bb233da1 100644 --- a/src/namecache/namecache_api.c +++ b/src/namecache/namecache_api.c @@ -224,12 +224,6 @@ handle_lookup_block_response (void *cls, GNUNET_free (qe); return; } - if (ntohs (msg->gns_header.header.size) < sizeof (struct LookupBlockResponseMessage)) - { - LOG (GNUNET_ERROR_TYPE_ERROR, - "Message is too short\n"); - return; - } size = ntohs (msg->gns_header.header.size) - sizeof (struct LookupBlockResponseMessage); { -- 2.25.1