Fix: sessiond: event name truncation during listing
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 12 Jan 2021 22:08:56 +0000 (17:08 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 12 Jan 2021 22:08:56 +0000 (17:08 -0500)
commit43ed148559609eba941bb3dffa35bff67341e64d
tree996030073288295975812dca67b1df0b314db431
parenta3ecaea889e67f87307cc3be53e51fb472a67c3b
Fix: sessiond: event name truncation during listing

The use of strncpy can lead to silently-truncated event names. Replace
its use by the internal lttng_strncpy which fails on truncation.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I65d6bd46208dc7b62a83e4600a52a6669fd99d55
src/bin/lttng-sessiond/cmd.c
This page took 0.032795 seconds and 4 git commands to generate.