summaryrefslogtreecommitdiffstats
path: root/net/sunrpc
diff options
context:
space:
mode:
authorPhil Carmody <ext-phil.2.carmody@nokia.com>2010-05-24 23:33:04 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2010-05-25 17:07:03 +0200
commit08a82c6872ac1d37cb993a52f1b35f97f48295bd (patch)
tree43599b0869e8001e3e207e3498a5d510720070f2 /net/sunrpc
parentkernel-wide: replace USHORT_MAX, SHORT_MAX and SHORT_MIN with USHRT_MAX, SHRT... (diff)
downloadlinux-08a82c6872ac1d37cb993a52f1b35f97f48295bd.tar.xz
linux-08a82c6872ac1d37cb993a52f1b35f97f48295bd.zip
hvsi: fix messed up error checking getting state name
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>
Diffstat (limited to 'net/sunrpc')
0 files changed, 0 insertions, 0 deletions