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:43:49 +0000 (13:43 -0400)
commit7fb517040103ebdaf888b6695a40d56d52c0e8a0
treea92c50ed6519c59d00260462ea6ec6bcecec7a31
parente1222efe51a26176dd32e0053dfc58702ce9cbce
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.026021 seconds and 4 git commands to generate.