git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8410725
)
[media] s5c73m3: Fix off-by-one valid range checking for fie->index
author
Axel Lin
<axel.lin@ingics.com>
Tue, 30 Apr 2013 03:42:16 +0000
(
00:42
-0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Tue, 21 May 2013 11:36:54 +0000
(08:36 -0300)
Current code uses fie->index as array subscript, thus the valid value range
is 0 ... ARRAY_SIZE(s5c73m3_intervals) - 1.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
No differences found