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, 5 Sep 2019 20:39:14 +0000 (16:39 -0400)
commitcb034ca241b062822de342b1b380fa195cb8272a
treeee114d6e6119d7c6ca201f7eda6a5a473662fa46
parentb2c25d009326709309698f60b6fbdd6acd68811b
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.026037 seconds and 4 git commands to generate.