userspace-probe: replace explicit null-termination check
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 10 Sep 2020 16:23:28 +0000 (12:23 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 10 Sep 2020 16:24:24 +0000 (12:24 -0400)
Replace explicit null-termination checks by uses of
lttng_buffer_view_contains_string() which provides the same
guarantees and ensures the string pointer is within the view.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: If0038a82ad7dfe1ed0e8cdef7870d5e25d62200d


No differences found
This page took 0.026992 seconds and 5 git commands to generate.