diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2018-05-17 10:58:25 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-05-28 22:12:07 +0200 |
commit | 9329e7b03c6998cae2d2ba75dd697b07147f3830 (patch) | |
tree | c95948a0b01d4ce22dbde827b287fa894e23e6dd /drivers/media/platform/Kconfig | |
parent | media: cec-pin-error-inj: avoid a false-positive Spectre detection (diff) | |
download | linux-9329e7b03c6998cae2d2ba75dd697b07147f3830.tar.xz linux-9329e7b03c6998cae2d2ba75dd697b07147f3830.zip |
media: vivid: potential integer overflow in vidioc_g_edid()
If we pick a very large "edid->blocks" value then the "edid->start_block
+ edid->blocks" addition could wrap around.
Fixes: ef834f7836ec ("[media] vivid: add the video capture and output parts")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/platform/Kconfig')
0 files changed, 0 insertions, 0 deletions