diff options
author | Yizhuo <[email protected]> | 2019-08-26 20:55:28 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2019-08-29 10:22:39 -0300 |
commit | 0fb68ce02ae73626a61b8d03eab1625021057af5 (patch) | |
tree | fe6e473c763090df774b9b4437fcb18e809a42bb /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | ecbce48f1ff2442371ebcd12ec0ecddb431fbd72 (diff) |
media: pvrusb2: qctrl.flag will be uninitlaized if cx2341x_ctrl_query() returns error code
Inside function ctrl_cx2341x_getv4lflags(), qctrl.flag
will be uninitlaized if cx2341x_ctrl_query() returns -EINVAL.
However, it will be used in the later if statement, which is
potentially unsafe.
Signed-off-by: Yizhuo <[email protected]>
Acked-by: Mike Isely <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions