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:58 +0000 (15:00 -0400)
commit12f7d6d2dc6a6cf41f6692a76d98f1c8bf2bbc05
tree37d4c580ab67676d376ea28e8033dc15ecf49298
parent7675e03a721927365e0c4d03764a904e4de6fea2
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.025919 seconds and 4 git commands to generate.