V4L/DVB (4508): Fix an array overflow on bt866
authorMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 18 Aug 2006 10:40:28 +0000 (07:40 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Tue, 26 Sep 2006 15:30:32 +0000 (12:30 -0300)
commit0d0d871b3f3395820ec33a78fb2cc101b9bdcced
tree272019d21a2dc5f3bbddee6c6c533dd666eb1149
parenteb42c42449b4d018881dc8f1856ce84cf74f90c5
V4L/DVB (4508): Fix an array overflow on bt866

The Coverity checker spotted the following two array overflows.
Registers 0xcc and 0xdc were cached on reg[] array, with only 128 elements,
instead of 256.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/bt866.c