]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB (9621): Avoid writing outside shadow.bytes[] array
authorMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 13 Nov 2008 20:03:28 +0000 (17:03 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 14 Nov 2008 16:24:45 +0000 (14:24 -0200)
commit7c57036d0e851afe43d1effffa77910f8b20cfce
tree681aeb1444d7e1b2d994d5045644a0c8ec44e342
parent2864067363b01ff8bf30b33e8815e846ff919f98
V4L/DVB (9621): Avoid writing outside shadow.bytes[] array

There were no check about the limits of shadow.bytes array. This offers
a risk of writing values outside the limits, overriding other data
areas.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/tvaudio.c