Fix: ring_buffer_frontend.c: init read timer with uninitialized flags
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 4 Jun 2019 18:59:26 +0000 (14:59 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 4 Jun 2019 19:00:53 +0000 (15:00 -0400)
commit8ed66080397eac7fe638dac8a2fd3fcaefd83988
tree84e7ff1892b2b84872239d095563f832d7124601
parent0d0d9f0365f7adf04b1851774e02fa6871912824
Fix: ring_buffer_frontend.c: init read timer with uninitialized flags

For the config->alloc RING_BUFFER_ALLOC_GLOBAL (metadata channel), the
read timer flags argument is uninitialized.

Found by Coverity:
CID 1401114 (#1 of 1): Uninitialized scalar variable (UNINIT)
6. uninit_use_in_call: Using uninitialized value flags when calling init_timer_key.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
lib/ringbuffer/ring_buffer_frontend.c
This page took 0.025599 seconds and 4 git commands to generate.