From: Mathieu Desnoyers Date: Tue, 17 May 2016 01:42:51 +0000 (-0400) Subject: Fix: illegal memory access in list_lttng_channels X-Git-Tag: v2.9.0-rc1~222 X-Git-Url: https://git.lttng.org/?a=commitdiff_plain;ds=sidebyside;h=8ee609c81c5be3880cc48b863227320763733356;hp=8ee609c81c5be3880cc48b863227320763733356;p=lttng-tools.git Fix: illegal memory access in list_lttng_channels Found by Coverity: CID 1243018 (#1 of 1): Buffer not null terminated (BUFFER_SIZE_WARNING)11. buffer_size_warning: Calling strncpy with a maximum size argument of 256 bytes on destination array (channels + i).name of size 256 bytes might leave the destination string unterminated. Signed-off-by: Mathieu Desnoyers Signed-off-by: Jérémie Galarneau ---