From: Schanzenbach, Martin Date: Sat, 9 May 2020 20:10:08 +0000 (+0200) Subject: fail of LSD0001 is violated for GNS2DNS X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ada94c2742c8dd5a38ca88d47de6fb13ac2b83cb;p=oweals%2Fgnunet.git fail of LSD0001 is violated for GNS2DNS --- diff --git a/src/gns/gnunet-service-gns_resolver.c b/src/gns/gnunet-service-gns_resolver.c index 1d9fb902a..751cc226e 100644 --- a/src/gns/gnunet-service-gns_resolver.c +++ b/src/gns/gnunet-service-gns_resolver.c @@ -1759,7 +1759,13 @@ recursive_gns2dns_resolution (struct GNS_ResolverHandle *rh, struct sockaddr_in6 v6; if (GNUNET_GNSRECORD_TYPE_GNS2DNS != rd[i].record_type) - continue; + { + /** + * Records other than GNS2DNS not allowed + */ + fail_resolution (rh); + return; + } off = 0; n = GNUNET_DNSPARSER_parse_name (rd[i].data, rd[i].data_size,