Fix: use of uninitialized 'nb_pipes_fd'
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 20 Aug 2018 19:12:13 +0000 (15:12 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 20 Aug 2018 19:12:13 +0000 (15:12 -0400)
commit8bdcc002595070b62b2ea7a58fa7f9b090cf6d2d
tree71f7fe6c4fa9e3b2b3835a54dee3314378d0b1e7
parentec135c61effc83fff0695e0e36a4182a8be83c5c
Fix: use of uninitialized 'nb_pipes_fd'

nb_pipes_fd can be used uninitialized in the consumers' data polling
threads if 'consumer_data.need_update' is false.

In practice, this is not a problem as 'consumer_data.need_update'
is true on the first execution of the thread's loop.

Reported-by: Coverity Scan (1387046 Uninitialized scalar variable)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/consumer/consumer.c
This page took 0.026269 seconds and 4 git commands to generate.