]> git.lttng.org Git - lttng-ust.git/commit
Fix: sysconf() unchecked return value
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 21 Sep 2015 17:43:08 +0000 (13:43 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 21 Sep 2015 17:44:02 +0000 (13:44 -0400)
commit355e3ac6aabfd7363aedd783bda99fb9c584e56f
tree0657c34ad13143ad8257792e1fd5be0dffae7041
parent4adaf46c3b518e077bdda3e573aa743aa2e516c9
Fix: sysconf() unchecked return value

Fix Coverity bug:

CID 1021259 (#1 of 1): Improper use of negative value
(NEGATIVE_RETURNS)5. negative_returns: sysconf(_SC_PAGESIZE) is passed
to a parameter that cannot be negative.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
liblttng-ust/lttng-ust-comm.c
libringbuffer/ring_buffer_backend.c
tests/ust-basic-tracing/ust-basic-tracing.c
tests/ust-multi-test/ust-multi-test.c
This page took 0.029279 seconds and 4 git commands to generate.