projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: illegal memory access in send_viewer_streams
[lttng-tools.git]
/
src
/
bin
/
lttng-relayd
/
session.h
diff --git
a/src/bin/lttng-relayd/session.h
b/src/bin/lttng-relayd/session.h
index 1a37cfee2069800be941eeb4f875354270c1ecdc..3ee1c45c3d24c93605605336fb7b5ac426e05afd 100644
(file)
--- a/
src/bin/lttng-relayd/session.h
+++ b/
src/bin/lttng-relayd/session.h
@@
-26,6
+26,7
@@
#include <urcu/list.h>
#include <urcu/ref.h>
#include <urcu/list.h>
#include <urcu/ref.h>
+#include <lttng/constant.h>
#include <common/hashtable/hashtable.h>
/*
#include <common/hashtable/hashtable.h>
/*
@@
-38,8
+39,8
@@
struct relay_session {
* It is used to match a set of streams to their session.
*/
uint64_t id;
* It is used to match a set of streams to their session.
*/
uint64_t id;
- char session_name[NAME_MAX];
- char hostname[HOST_NAME_MAX];
+ char session_name[
LTTNG_
NAME_MAX];
+ char hostname[
LTTNG_
HOST_NAME_MAX];
uint32_t live_timer;
/* Session in snapshot mode. */
uint32_t live_timer;
/* Session in snapshot mode. */
This page took
0.026728 seconds
and
5
git commands to generate.