]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[media] zc3xx: don't go past quality array
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 28 Apr 2015 22:39:53 +0000 (19:39 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 30 Apr 2015 17:27:15 +0000 (14:27 -0300)
commitb036f1cb6e268f2a8c4433c3c26cbef95642b79d
treee1b3cc60d8990e915e10ba57c29a0c23735c1320
parent82e3b88b679049f043fe9b03991d6d66fc0a43c8
[media] zc3xx: don't go past quality array

drivers/media/usb/gspca/zc3xx.c:6363 zcxx_s_ctrl() error: buffer overflow 'jpeg_qual' 3 <= 3

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/usb/gspca/zc3xx.c