diff options
author | Steve French <sfrench@us.ibm.com> | 2011-07-12 18:24:43 +0000 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2011-07-12 19:14:24 +0000 |
commit | ea1be1a3c3c4b2bbc32aeb7995e18336c8060e0e (patch) | |
tree | b9f057cb63be2fb16a48c5e1a0214dd4089d84c1 /fs/cifs/cifsfs.h | |
parent | 62411ab2fe5f002dff27417630ddf02cc40ca404 (diff) | |
download | linux-ea1be1a3c3c4b2bbc32aeb7995e18336c8060e0e.tar.bz2 |
[CIFS] update limit for snprintf in cifs_construct_tcon
In 34c87901e113 "Shrink stack space usage in cifs_construct_tcon" we
change the size of the username name buffer from MAX_USERNAME_SIZE
(256) to 28. This call to snprintf() needs to be updated as well.
Reported by Dan Carpenter.
Reviewed-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifsfs.h')
0 files changed, 0 insertions, 0 deletions