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:05 +0000 (12:06 -0400)
commita1ffd991c43db2a7c031ca1c5c50681a6cebdd84
treec12d6dd5b0481bd7a75ab37238116aad9d3e424c
parent01a12501e0b0395b60c7e392cb7dded51ae572ca
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.025824 seconds and 4 git commands to generate.