diff options
| author | Yizhuo <yzhai003@ucr.edu> | 2019-08-29 21:43:59 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-10-10 07:15:09 -0300 |
| commit | 31218df77e7f1b9b0a136990a500a7f980e6a573 (patch) | |
| tree | 32c53d8623c2d97fabbf0eb2e2804f84b401b4a7 /tools/perf/scripts/python | |
| parent | 6bf05f759932b813afa289203c8dc63050a0da82 (diff) | |
| download | linux-31218df77e7f1b9b0a136990a500a7f980e6a573.tar.gz linux-31218df77e7f1b9b0a136990a500a7f980e6a573.zip | |
media: media/pci/ivtv: Variable vbi.type could be uninitialized if macro v4l2_subdev_call set __result an error code
Inside function compress_sliced_buf(), variable vbi.type is
uninitialized if macro v4l2_subdev_call set __result an
error code. However, vbi.type is used in the if statement
without any check, which is potentially unsafe.
Signed-off-by: Yizhuo <yzhai003@ucr.edu>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
