From: Axel Lin Date: Tue, 30 Apr 2013 13:18:23 +0000 (-0300) Subject: [media] exynos4-is: Fix off-by-one valid range checking for is->config_index X-Git-Tag: v3.10-rc7~29^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7accedd2fa059961629fd47212dd7096370c64fb;p=pandora-kernel.git [media] exynos4-is: Fix off-by-one valid range checking for is->config_index 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 Signed-off-by: Sylwester Nawrocki Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed