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:58 +0000 (13:43 -0400)
commit8ed89704969af8ce7758224fffc73b74ee0ab470
tree63f8adcc621e4423540f8371443a236e0a8b5e28
parentbcc5aa50bdb231ee29b90ec1b8e42b894e9d38d1
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.024642 seconds and 4 git commands to generate.