Fix: error-query: uninitialized action_index value
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 22 Apr 2021 18:50:55 +0000 (14:50 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 22 Apr 2021 18:52:10 +0000 (14:52 -0400)
commitc7627a89bbd6696a667acf0f52cc8a4fe876d3f1
tree1989016cdb41ca52660a35eebd3acb3b76703ec6
parentfcf27bee908a5384316bef111bf42cc595e5e717
Fix: error-query: uninitialized action_index value

action_index will be used uninitialized if the user passes an action
that is not part of the trigger (an API use error).

CID 1452662 (#2 of 2): Uninitialized scalar variable (UNINIT)
14. uninit_use: Using uninitialized value action_index.is_set.

Reported-by: Coverity Scan
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I9afc6730b5462f4bf55e0dba3454efb5b4ca22c9
src/common/error-query.c
This page took 0.027229 seconds and 4 git commands to generate.