From: David Goulet Date: Tue, 25 Feb 2014 19:45:08 +0000 (-0500) Subject: Fix: forbid session name creation if contains / X-Git-Tag: v2.5.0-rc1~154 X-Git-Url: https://git.lttng.org/?a=commitdiff_plain;h=1c1c3634276842a00492e24c3adcf847ae21edc3;hp=1c1c3634276842a00492e24c3adcf847ae21edc3;p=lttng-tools.git Fix: forbid session name creation if contains / This adds a validation function for session name which for now denies any session name containing '/'. This is in response of bug #721 that actually uses a path as a session name such as "test/../session1" which would then be concatenated to the session path adding a relative path to it making this a serious security issue. Because of this issue, this is backported from master up to stable-2.3. Fixes #721 Signed-off-by: David Goulet ---