OpenCloudOS-Kernel/drivers/media/common/v4l2-tpg
Hans Verkuil e5f71a27fa 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>
2018-11-23 06:23:06 -05:00
..
Kconfig
Makefile
v4l2-tpg-colors.c media: replace ADOBERGB by OPRGB 2018-09-24 09:21:47 -04:00
v4l2-tpg-core.c media: v4l2-tpg: array index could become negative 2018-11-23 06:23:06 -05:00