V4L/DVB: video/au0828: off by one bug
authorDan Carpenter <error27@gmail.com>
Sun, 28 Mar 2010 11:21:18 +0000 (08:21 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 19 May 2010 15:57:21 +0000 (12:57 -0300)
commitf5e20c34e9c1bcf9e92f2634411bffd98511fc48
tree5140e1cc2d739f129bd3c285ba723fdcb2a841ec
parent6e1f4df7da6edd21a184daff023a8eef67f005dc
V4L/DVB: video/au0828: off by one bug

The "AUVI_INPUT(tmp)" macro uses "tmp" as an index of an array with
AU0828_MAX_INPUT elements.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/au0828/au0828-video.c