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

2019-03-26 Thread Mathieu Desnoyers
- On Mar 26, 2019, at 2:21 PM, Yannick Lamarre ylama...@efficios.com wrote: > The lttng client uses the sizeof the containing buffer for input string > sanitation instead of libc defined macro. The missing part of this changelog is the "why ?". Why is this change needed ? What is wrong with t

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

2019-03-26 Thread Yannick Lamarre
The lttng client uses the sizeof the containing buffer for input string sanitation instead of libc defined macro. Signed-off-by: Yannick Lamarre --- lttng-enable_channel was improperly verifying user input and wrongly rejected valid input. src/bin/lttng/commands/enable_channels.c | 2 +- 1 file