[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] branch master updated: reject . in labels
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] branch master updated: reject . in labels |
Date: |
Fri, 26 Apr 2019 16:35:47 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new 3cdfeee1b reject . in labels
3cdfeee1b is described below
commit 3cdfeee1bb9e42f5a6c9ace231f944ce97706957
Author: Christian Grothoff <address@hidden>
AuthorDate: Fri Apr 26 16:34:13 2019 +0200
reject . in labels
---
src/namestore/gnunet-namestore.c | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/src/namestore/gnunet-namestore.c b/src/namestore/gnunet-namestore.c
index 470716f43..34bbf0111 100644
--- a/src/namestore/gnunet-namestore.c
+++ b/src/namestore/gnunet-namestore.c
@@ -986,6 +986,17 @@ identity_cb (void *cls,
struct GNUNET_GNSRECORD_Data rd;
el = NULL;
+ if ( (NULL != name) &&
+ (0 != strchr (name, '.')) )
+ {
+ fprintf (stderr,
+ _("Label `%s' contains `.' which is not allowed\n"),
+ name);
+ GNUNET_SCHEDULER_shutdown ();
+ ret = -1;
+ return;
+ }
+
if (NULL == ego)
{
if (NULL != ego_name)
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [gnunet] branch master updated: reject . in labels,
gnunet <=