Re: [lttng-dev] [PATCH lttng-tools v2] Fix: Properly sanitize input parameter

2019-03-29 Thread Jérémie Galarneau
Merged in master, stable-2.11, stable-2.10, and stable-2.9. Thanks! Jérémie On Tue, Mar 26, 2019 at 03:53:06PM -0400, Yannick Lamarre wrote: > The lttng client uses the sizeof the containing buffer, defined as > LTTNG_SYMBOL_NAME_LEN, for input string sanitation instead of libc defined > macro NA

[lttng-dev] [PATCH lttng-tools v2] Fix: Properly sanitize input parameter

2019-03-26 Thread Yannick Lamarre
The lttng client uses the sizeof the containing buffer, defined as LTTNG_SYMBOL_NAME_LEN, for input string sanitation instead of libc defined macro NAME_MAX. lttng-enable_channel improperly verified user input and wrongly discarded valid input in case NAME_MAX was less than the sizeof the containin