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