diff options
author | Axel Lin <axel.lin@ingics.com> | 2013-04-30 10:18:23 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-05-21 08:37:11 -0300 |
commit | 7accedd2fa059961629fd47212dd7096370c64fb (patch) | |
tree | cc0c1035b6e4945618a7218accc84f9ac1438733 /security/commoncap.c | |
parent | c6f89116c14144c18295d2a06294788c86fe9e6d (diff) | |
download | op-kernel-dev-7accedd2fa059961629fd47212dd7096370c64fb.zip op-kernel-dev-7accedd2fa059961629fd47212dd7096370c64fb.tar.gz |
[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 <axel.lin@ingics.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'security/commoncap.c')
0 files changed, 0 insertions, 0 deletions