diff options
author | Steve French <sfrench@us.ibm.com> | 2007-11-05 16:46:10 -0500 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2007-11-05 16:46:10 -0500 |
commit | 63d2583f5a1a0b72fea3f2171f23f0ca8fa556ec (patch) | |
tree | b9dab1514976c462f2d3528f86dd6c3e46fca745 /fs/cifs/readdir.c | |
parent | f1d662a7d5e5322e583aad6b3cfec03d8f27b435 (diff) |
[CIFS] Fix walking out end of cifs dacl
Acked-by: Shirish Pargaonkar <shirishp@us.ibm.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/readdir.c')
-rw-r--r-- | fs/cifs/readdir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/readdir.c b/fs/cifs/readdir.c index 3746580e9701..82497d47429a 100644 --- a/fs/cifs/readdir.c +++ b/fs/cifs/readdir.c | |||
@@ -495,7 +495,7 @@ ffirst_retry: | |||
495 | static int cifs_unicode_bytelen(char *str) | 495 | static int cifs_unicode_bytelen(char *str) |
496 | { | 496 | { |
497 | int len; | 497 | int len; |
498 | __le16 * ustr = (__le16 *)str; | 498 | __le16 *ustr = (__le16 *)str; |
499 | 499 | ||
500 | for (len = 0; len <= PATH_MAX; len++) { | 500 | for (len = 0; len <= PATH_MAX; len++) { |
501 | if (ustr[len] == 0) | 501 | if (ustr[len] == 0) |