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)
commit494264379d186bf806613d27aafb7d88d42f4212
tree681aeb1444d7e1b2d994d5045644a0c8ec44e342
parent81cb5c4f7fbe6971d9c61401bc47193290fd59b7
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