cifs: Read buffer overflow
authorRoel Kluin <roel.kluin@gmail.com>
Sun, 2 Aug 2009 11:00:18 +0000 (13:00 +0200)
committerSteve French <sfrench@us.ibm.com>
Mon, 3 Aug 2009 21:01:32 +0000 (21:01 +0000)
commit24e2fb615fd6b624c320cec9ea9d91a75dad902e
treef6849650d675636490a14659228ce9a18004bc77
parent4486d6ede16b362f89b29845af6fe1a26ae78a54
cifs: Read buffer overflow

Check whether index is within bounds before testing the element.

Acked-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifs_unicode.c