]> git.kernelconcepts.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 18 Dec 2008 17:13:41 +0000 (09:13 -0800)
commit0b634e9caabd8b62d5239b9e374ea00f8186b19d
tree97382bf7ab50b4ed53c74cd8d407a2e6a2f4d08a
parent7228fb2fa5e84db4b618b3e8ce7dab7577af37bc
V4L/DVB (9621): Avoid writing outside shadow.bytes[] array

commit 494264379d186bf806613d27aafb7d88d42f4212 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/media/video/tvaudio.c