gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnunet] 01/02: constructing path now works with SUID_BINAR


From: gnunet
Subject: [GNUnet-SVN] [gnunet] 01/02: constructing path now works with SUID_BINARY_PATH = ""
Date: Wed, 03 Jul 2019 22:32:13 +0200

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

lurchi pushed a commit to branch master
in repository gnunet.

commit 9e54fe2c33c7760ff936716cd125c8f00d0f16ef
Author: lurchi <address@hidden>
AuthorDate: Wed Jul 3 22:30:43 2019 +0200

    constructing path now works with SUID_BINARY_PATH = ""
---
 src/util/os_installation.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/util/os_installation.c b/src/util/os_installation.c
index 46f878693..d2ce7fd9b 100644
--- a/src/util/os_installation.c
+++ b/src/util/os_installation.c
@@ -839,7 +839,7 @@ GNUNET_OS_get_suid_binary_path (const struct 
GNUNET_CONFIGURATION_Handle *cfg,
                                            "PATHS",
                                            "SUID_BINARY_PATH",
                                            &path);
-  if (NULL == path)
+  if (NULL == path || 0 == strlen (path))
     return GNUNET_OS_get_libexec_binary_path (progname);
   path_len = strlen (path);
   GNUNET_asprintf (&binary,

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

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