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:08 +0000 (13:43 -0400)
commit2657d1baecb6b33ead9c9caa7c8ec5bf423d1fde
tree2d5e129f9b0eeb0d62980080dbe04171c4f7358a
parent372587317b19636c05ce40cc1da40e2047481b81
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.025867 seconds and 4 git commands to generate.