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 18:59:26 +0000 (14:59 -0400)
commitb1ad8713157e5aa610c20a7f67d81e04689f151a
treed40ef3a66aee91171e81597cbb32a2f5dfb98c32
parentb29c62868f58af09b600118a394a0263bab5e52d
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.026284 seconds and 4 git commands to generate.