V4L/DVB (12436): stk-webcam: read buffer overflow
authorRoel Kluin <roel.kluin@gmail.com>
Tue, 11 Aug 2009 01:17:25 +0000 (22:17 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 13 Aug 2009 23:39:13 +0000 (20:39 -0300)
commit77f2c2db1146154fb054e9ce955928a66d8c959f
tree23e561f2e92ba2f6060b9240187d3be835075aaa
parent01a5fd6ff3fbae9a599d3334a8cca0f00865e360
V4L/DVB (12436): stk-webcam: read buffer overflow

It tested the value of stk_sizes[i].m before checking whether i was in range.

Cc: Hans Verkuil <hverkuil@xs4all.nl>
Cc: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/stk-webcam.c