summaryrefslogtreecommitdiff
path: root/drivers/media/platform/qcom
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2018-11-08 11:12:47 -0500
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-11-23 06:23:06 -0500
commite5f71a27fa12c1a1b02ad478a568e76260f1815e (patch)
tree54e6e280b179c54a8b9eada950f1419a6d6f0046 /drivers/media/platform/qcom
parentb01783f801e65243afed9012c12343f5d63920eb (diff)
media: v4l2-tpg: array index could become negative
text[s] is a signed char, so using that as index into the font8x16 array can result in negative indices. Cast it to u8 to be safe. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Reported-by: syzbot+ccf0a61ed12f2a7313ee@syzkaller.appspotmail.com Cc: <stable@vger.kernel.org> # for v4.7 and up Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/platform/qcom')
0 files changed, 0 insertions, 0 deletions