[media] ds3000: fix reading array out of bound in ds3000_read_snr
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Fri, 28 Feb 2014 02:04:08 +0000 (23:04 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 28 Feb 2014 18:21:02 +0000 (15:21 -0300)
commitb59de95bed526467f21c9978460cb15952b462e8
tree4454efcef3de842cf54c5c8eac91dab50c8a3765
parent7e6bd12fb77b0067df13fb3ba3fadbdff2945396
[media] ds3000: fix reading array out of bound in ds3000_read_snr

An attempt was made to read dvbs2_snr_tab[80],
though dvbs2_snr_tab has only 80 elements.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/dvb-frontends/ds3000.c