Fix: consumer: timer: uninitialized sigevent fields
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 11 Feb 2021 15:28:54 +0000 (10:28 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 11 Feb 2021 15:28:54 +0000 (10:28 -0500)
commit389b8e8fd446dee925166205c0f6e462babd5e5d
tree1dd2ac14ec5600fe686c9db796735cc545be9628
parentb42ada9013db5428c0fbca358e87c001f5b7e8c4
Fix: consumer: timer: uninitialized sigevent fields

Coverity reports:
1445769 Uninitialized scalar variable
The variable will contain an arbitrary value left from earlier computations.
In consumer_channel_timer_start: Use of an uninitialized variable (CWE-457)

CID 1445769 (#1 of 1): Uninitialized scalar variable (UNINIT)7.
uninit_use_in_call: Using uninitialized value sev. Field sev._sigev_un
is uninitialized when calling timer_create.

Reported-by: Coverity Scan
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: If9154d8b20699a88bf549c407eaef898dfebcd51
src/common/consumer/consumer-timer.c
This page took 0.026918 seconds and 5 git commands to generate.