[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] branch master updated: fail of LSD0001 is violated for GNS2DNS
From: |
gnunet |
Subject: |
[gnunet] branch master updated: fail of LSD0001 is violated for GNS2DNS |
Date: |
Sat, 09 May 2020 22:15:08 +0200 |
This is an automated email from the git hooks/post-receive script.
martin-schanzenbach pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new ada94c274 fail of LSD0001 is violated for GNS2DNS
ada94c274 is described below
commit ada94c2742c8dd5a38ca88d47de6fb13ac2b83cb
Author: Schanzenbach, Martin <address@hidden>
AuthorDate: Sat May 9 22:10:08 2020 +0200
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,
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnunet] branch master updated: fail of LSD0001 is violated for GNS2DNS,
gnunet <=