Fix: sessiond: timer: unitiliazed sigevent fields
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 10 Feb 2021 19:25:57 +0000 (14:25 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 19 Feb 2021 16:43:47 +0000 (11:43 -0500)
commit6484593b6a992275daf026746cda53ddf38ef155
tree09ef424b8b2171bb51b8dd93fe9163f808b11d14
parent19d449f1419229a864f9e9e6c54ef03780866027
Fix: sessiond: timer: unitiliazed sigevent fields

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

CID 1445773 (#1 of 1): Uninitialized scalar variable (UNINIT)2.
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: I306ea7e58192223408fac9d354dbbfebe6c0cc70
src/bin/lttng-sessiond/timer.c
This page took 0.025892 seconds and 4 git commands to generate.