]> git.karo-electronics.de Git - karo-tx-linux.git/commit
cifs: Increase size of tmp_buf in cifs_readdir to avoid potential overflows
authorSuresh Jayaraman <sjayaraman@suse.de>
Sat, 9 May 2009 05:52:47 +0000 (11:22 +0530)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 18 May 2009 23:34:57 +0000 (16:34 -0700)
commite9012cf5e92b7812f5fc88fdd1ddaecc34a5b904
treecaa8fd7a8b8f33dcfb89091c62ec4d6b620bceb9
parent5b0ecf297e133be1e4767b1e446a6d7902274c13
cifs: Increase size of tmp_buf in cifs_readdir to avoid potential overflows

Commit 7b0c8fcff47a885743125dd843db64af41af5a61 refreshed and use
a #define from commit f58841666bc22e827ca0dcef7b71c7bc2758ce82.

cifs: Increase size of tmp_buf in cifs_readdir to avoid potential overflows

Increase size of tmp_buf to possible maximum to avoid potential
overflows. Also moved UNICODE_NAME_MAX definition so that it can be used
elsewhere.

Pointed-out-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Suresh Jayaraman <sjayaraman@suse.de>
Acked-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/cifs/cifs_unicode.h
fs/cifs/readdir.c