projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee19e4d
)
constructing path now works with SUID_BINARY_PATH = ""
author
lurchi
<lurchi@strangeplace.net>
Wed, 3 Jul 2019 20:30:43 +0000
(22:30 +0200)
committer
lurchi
<lurchi@strangeplace.net>
Wed, 3 Jul 2019 20:30:43 +0000
(22:30 +0200)
src/util/os_installation.c
patch
|
blob
|
history
diff --git
a/src/util/os_installation.c
b/src/util/os_installation.c
index 46f87869373cf54fc6a7200495c3903478168519..d2ce7fd9bc5037f6e4e549ab6ac0de0dc4f1e3fb 100644
(file)
--- 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,