Fix: handle negative range for LTTNG_UST_REGISTER_TIMEOUT
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 12 Feb 2016 20:44:10 +0000 (15:44 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 12 Feb 2016 20:46:19 +0000 (15:46 -0500)
commit13b09b636068bd4395b7cdd4f0be99cbfa95fe2f
tree5c8b5d05ffa4d7c63fe9237ca61544057caccd06
parent267f70926b9311fa87adfda0f5c900e9e6826421
Fix: handle negative range for LTTNG_UST_REGISTER_TIMEOUT

We should not consider values below -1 as valid timeout values, this is
is unexpected and could lead to EINVAL errors returned by sem_timedwait.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
liblttng-ust/lttng-ust-comm.c
This page took 0.029734 seconds and 4 git commands to generate.