From: Michael Jeanson Date: Fri, 25 Sep 2020 15:23:58 +0000 (-0400) Subject: fix: Add a 1MB limit to lttng_strlen_user_inatomic X-Git-Tag: v2.11.6~6 X-Git-Url: http://git.lttng.org./?a=commitdiff_plain;h=8c51c31506f61a9af071b1c1e852422fd13cca35;hp=8c51c31506f61a9af071b1c1e852422fd13cca35;p=lttng-modules.git 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 Signed-off-by: Mathieu Desnoyers Change-Id: I85afcd879258735bb2e7502f6016fcb2d3974cf7 ---