Fix: relayd: disallow 0-length session names for 2.4+ peers
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 8 Nov 2019 22:45:20 +0000 (17:45 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 13 Nov 2019 19:41:15 +0000 (14:41 -0500)
commitadfef72643e389586bc76582a0e88d806ae96c4c
treead1ec6b0908dd85cacafd38888e4f60eba93ea5d
parent7ca90d1f9f3b3098fda2bff016cd996cdbe7bd1f
Fix: relayd: disallow 0-length session names for 2.4+ peers

The group-by-session-name feature assumes sessions are named for peers
more recent than 2.3. Enforce this assumption at session creation
time.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-relayd/cmd-2-11.c
src/bin/lttng-relayd/cmd-2-4.c
src/bin/lttng-relayd/session.h
This page took 0.025773 seconds and 4 git commands to generate.