From: Schanzenbach, Martin Date: Sun, 24 Jun 2018 21:11:15 +0000 (+0200) Subject: revert unnecessary underrun fix X-Git-Tag: v0.11.0~357^2~22 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c6dc6e0b72b89baa94872c7e250b3b59de382499;p=oweals%2Fgnunet.git revert unnecessary underrun fix --- 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); {