gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnunet] 26/27: GNS: Implementation of SBOX records


From: gnunet
Subject: [gnunet] 26/27: GNS: Implementation of SBOX records
Date: Thu, 14 Dec 2023 19:23:20 +0100

This is an automated email from the git hooks/post-receive script.

sebi pushed a commit to branch master
in repository gnunet.

commit bcc1b977db2b322280fc1df8d074e3c29b134754
Author: Sebastian Nadler <sebastian.nadler@tum.de>
AuthorDate: Tue Dec 5 17:37:52 2023 +0100

    GNS: Implementation of SBOX records
    
    Fix memory allocation and string handling issues in plugin_gnsrecord_gns.c 
and gnunet-service-gns_resolver.c
    
    GNS: sbox records
    
    Add SBox record
---
 contrib/gana                                  | 2 +-
 src/service/gns/gnunet-service-gns_resolver.c | 5 +++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/contrib/gana b/contrib/gana
index f5577937d..cbc4ad239 160000
--- a/contrib/gana
+++ b/contrib/gana
@@ -1 +1 @@
-Subproject commit f5577937ddfe880a49c8bcfce6e531959d62fdd8
+Subproject commit cbc4ad2394fc4bc8adaad4897759dfc5b345c3e9
diff --git a/src/service/gns/gnunet-service-gns_resolver.c 
b/src/service/gns/gnunet-service-gns_resolver.c
index 2b252c6df..906bb6aba 100644
--- a/src/service/gns/gnunet-service-gns_resolver.c
+++ b/src/service/gns/gnunet-service-gns_resolver.c
@@ -627,7 +627,7 @@ resolver_getservbyname (const char *name, const char *proto)
  * and update the resolution position accordingly.  Labels usually consist
  * of up to 63 characters without a period ("."); however, we use a special
  * convention to support resource records where the domain name
- * includes a label starting with '_'. The syntax (see RFC 8552) here is 
+ * includes a label starting with '_'. The syntax (see RFC 8552) here is
  * "someLabel._Label.Name" and in this special case we include the 
"someLabel._Label" in the rightmost label.
  * Thus, for "_443._tcp.foo.bar" we first return the label "bar" and then
  * the label "_443._tcp.foo".  The special case is detected by the
@@ -3083,7 +3083,8 @@ GNS_resolver_lookup_cancel (struct GNS_ResolverHandle *rh)
                                  dr);
     GNUNET_free (dr);
   }
-  if (NULL != rh->prefix) {
+  if (NULL != rh->prefix)
+  {
     GNUNET_free (rh->prefix);
     rh->prefix = NULL;
   }

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]