From ada94c2742c8dd5a38ca88d47de6fb13ac2b83cb Mon Sep 17 00:00:00 2001 From: "Schanzenbach, Martin" Date: Sat, 9 May 2020 22:10:08 +0200 Subject: [PATCH] fail of LSD0001 is violated for GNS2DNS --- src/gns/gnunet-service-gns_resolver.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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, -- 2.25.1