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:33:45 +0000 (15:33 -0400)
commit171829b7b967fea8134c6204c9b87fc3324fb2c7
tree490592bb982aa86efbde8df3a76e6af1d6ba9b45
parent6826a68d673ed0a5b678453e0677db66c79fce0b
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.024915 seconds and 4 git commands to generate.