sessiond: fix: strncpy called with source length
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Sun, 15 Sep 2019 18:27:40 +0000 (14:27 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 26 Sep 2019 19:55:55 +0000 (15:55 -0400)
commit567232955c426c82d88c05fc58eb6bcd9cca94cf
tree0ef8772aab29d27f68756ea3887ebdc85a264273
parentdee68e680fcb782b455daaeab744d5480580a3fd
sessiond: fix: strncpy called with source length

strncpy is called with the source's length in two cases in the
session save code. Use the destination and remaining destination
length as intended by the API.

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