Fix: ret may be used uninitialized in sample_channel_positions()
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Mon, 30 Apr 2018 18:27:35 +0000 (14:27 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 9 May 2018 19:10:21 +0000 (15:10 -0400)
commite96fdefc39b0198ef601baecc5a66506b06e4aaf
tree59666475a6328987e06bae449cc8e59992df56f8
parent70bf4a3d154c94c7d74a6d7e3c9de838f8a1409c
Fix: ret may be used uninitialized in sample_channel_positions()

sample_channel_positions() returns garbage if
cds_lfht_is_node_deleted(&stream->node.node) on first and "possibly"
only iteration of the consumer_data.stream_per_chan_id_ht hash table.

Found by scan-build.

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/consumer/consumer-timer.c
This page took 0.029389 seconds and 4 git commands to generate.