projects
/
deliverable
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix bad channel output when sending to consumer
[deliverable/lttng-tools.git]
/
ltt-sessiond
/
session.c
diff --git
a/ltt-sessiond/session.c
b/ltt-sessiond/session.c
index 7a7bf3e572eaf500f34df226789af94efd4bf240..3131006f19254072119d41ecccfc3d37f9c1c95c 100644
(file)
--- a/
ltt-sessiond/session.c
+++ b/
ltt-sessiond/session.c
@@
-132,7
+132,7
@@
struct ltt_session *find_session_by_name(char *name)
lock_session_list();
cds_list_for_each_entry(iter, <t_session_list.head, list) {
- if (strncmp(iter->name, name,
strlen(name)
) == 0) {
+ if (strncmp(iter->name, name,
NAME_MAX
) == 0) {
found = 1;
break;
}
This page took
0.024984 seconds
and
5
git commands to generate.