projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: unchecked return value in sessiond path configuration
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
sessiond-config.c
diff --git
a/src/bin/lttng-sessiond/sessiond-config.c
b/src/bin/lttng-sessiond/sessiond-config.c
index 0b540865667ec526f51001687b254a9d67c6e3a3..d514aefc75e8ba85639cf0f80a3e9f5ec54b51fd 100644
(file)
--- a/
src/bin/lttng-sessiond/sessiond-config.c
+++ b/
src/bin/lttng-sessiond/sessiond-config.c
@@
-269,6
+269,9
@@
int sessiond_config_init(struct sessiond_config *config)
} else {
ret = config_set_paths_non_root(config);
}
+ if (ret < 0) {
+ goto end;
+ }
/* 32 bits consumerd path setup */
ret = asprintf(&str, DEFAULT_USTCONSUMERD32_PATH,
This page took
0.024711 seconds
and
4
git commands to generate.