From: Mathieu Desnoyers Date: Thu, 15 Oct 2015 20:47:14 +0000 (-0400) Subject: Relay protocol: check string lengths X-Git-Tag: v2.8.0-rc1~259 X-Git-Url: https://git.lttng.org/?a=commitdiff_plain;ds=sidebyside;h=246777db6078ff9dd8046d5701fc12cb34547402;hp=246777db6078ff9dd8046d5701fc12cb34547402;p=lttng-tools.git Relay protocol: check string lengths Ensure that string lengths are not longer than what the protocol supports on both send and receive. Ensure that path lengths fit in the local filename length limits on the receive side. Ensure that strings exchanged in the relay protocol are zero-terminated. Signed-off-by: Mathieu Desnoyers Signed-off-by: Jérémie Galarneau ---