]> git.kernelconcepts.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>
Wed, 20 May 2009 05:20:12 +0000 (22:20 -0700)
commitf1e9ce644becc2ff8865a3abb43dcfadefef093f
tree0bc10be31ade5305e5bbfc2fcc718c5823b8ed32
parentb26a2233617941def73064bee3fffb97ab6f073b
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