Don't allow slashes and dots in overriden trace chunk names
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 16 Jul 2019 01:24:41 +0000 (21:24 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 25 Jul 2019 19:51:47 +0000 (15:51 -0400)
commit84fa4db56e9fbc47bfe8e6cccd9ace585eb9e396
tree8ddf2dd4604f85d109ae82afb43d4838308ec12d
parent1e791a74976525f287944e5dbb65208a3b9edf42
Don't allow slashes and dots in overriden trace chunk names

A trace chunk's name is used when building its path. Therefore,
we ensure that a chunk's name can never contain '/' or '.' in
order to prevent malicious trace chunk names that would escape
a session's output directory.

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-11.h
src/bin/lttng-relayd/main.c
src/common/trace-chunk.c
This page took 0.032753 seconds and 4 git commands to generate.