[media] exynos4-is: Fix off-by-one valid range checking for is->config_index
authorAxel Lin <axel.lin@ingics.com>
Tue, 30 Apr 2013 13:18:23 +0000 (10:18 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 21 May 2013 11:37:11 +0000 (08:37 -0300)
Current code uses is->config_index as array subscript, thus the valid value
range is 0 ... ARRAY_SIZE(cmd) - 1.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

No differences found