fix: Add a 1MB limit to lttng_strlen_user_inatomic
authorMichael Jeanson <mjeanson@efficios.com>
Fri, 25 Sep 2020 15:23:58 +0000 (11:23 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 30 Sep 2020 16:01:55 +0000 (12:01 -0400)
commiteb94dcd91d4ea827ebe0353249e309f1629a5032
tree588d43f8a4aebe7a636ae08a6bd514426fba4d8a
parentda139c48d2e211028d4575d01caee17d4c26303a
fix: Add a 1MB limit to lttng_strlen_user_inatomic

The previous implementation was unbounded which could result in long
loops with preemption turned off.

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I85afcd879258735bb2e7502f6016fcb2d3974cf7
src/probes/lttng-probe-user.c
This page took 0.025684 seconds and 4 git commands to generate.