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:
4be929b
)
hvsi: fix messed up error checking getting state name
author
Phil Carmody
<ext-phil.2.carmody@nokia.com>
Mon, 24 May 2010 21:33:04 +0000
(14:33 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Tue, 25 May 2010 15:07:03 +0000
(08:07 -0700)
Handle out-of-range indices before reading what they refer to. And don't
access the one-past-the-end element of the array either.
Signed-off-by: Phil Carmody <ext-phil.2.carmody@nokia.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Roel Kluin <roel.kluin@gmail.com>
Cc: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/hvsi.c
patch
|
blob
|
history
diff --cc
drivers/char/hvsi.c
Simple merge