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:44:10 +0000 (15:44 -0500)
commit5cf81d53e305c81517e48e0dc91620a916cdc0cc
tree1c47517f8f5788e6abcd4105885e74f5f166dfe5
parent4721f9c7dc15670ecc9c2dcdd58d87eb2a2735a5
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.027138 seconds and 4 git commands to generate.