From: Alexandre Montplaisir Date: Thu, 19 May 2016 21:55:02 +0000 (-0400) Subject: Restrict Java context retriever names to a set of valid characters X-Git-Tag: v2.8.0~3 X-Git-Url: http://git.liburcu.org/?a=commitdiff_plain;h=14ba880b03565b199d55671b3c6e476e2373d19e;hp=14ba880b03565b199d55671b3c6e476e2373d19e;p=lttng-ust.git Restrict Java context retriever names to a set of valid characters Since the context/retriever names end up as-is as part of the metadata, only alphanumerical characters, periods "." and underscores "_" should be accepted. The names must also not start with a number. Refuse registration of retriever names that do not respect these conditions, so that the problem is reported right away to the application. Signed-off-by: Alexandre Montplaisir Signed-off-by: Mathieu Desnoyers ---