projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sessiond: fix: strncpy called with source length
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
consumer.h
diff --git
a/src/bin/lttng-sessiond/consumer.h
b/src/bin/lttng-sessiond/consumer.h
index b8d5630f472aed7b37e16a5ad9827fdb205bf0b0..99990714ac61e80039a80e77ba04953d55c2a495 100644
(file)
--- a/
src/bin/lttng-sessiond/consumer.h
+++ b/
src/bin/lttng-sessiond/consumer.h
@@
-108,8
+108,8
@@
struct consumer_data {
struct consumer_socket metadata_sock;
/* consumer error and command Unix socket path */
struct consumer_socket metadata_sock;
/* consumer error and command Unix socket path */
- c
har err_unix_sock_path[PATH_MAX]
;
- c
har cmd_unix_sock_path[PATH_MAX]
;
+ c
onst char *err_unix_sock_path
;
+ c
onst char *cmd_unix_sock_path
;
/*
* This lock has two purposes. It protects any change to the consumer
/*
* This lock has two purposes. It protects any change to the consumer
This page took
0.031073 seconds
and
4
git commands to generate.