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:06:09 +0000 (12:06 -0400)
commit8c51c31506f61a9af071b1c1e852422fd13cca35
treee37bbef7478d932e60310cad5d8de5e3fa01940e
parente85a3521a172c3f3b8963040c0f651840d711183
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
probes/lttng-probe-user.c
This page took 0.025049 seconds and 4 git commands to generate.