Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ea1be1a3 authored by Steve French's avatar Steve French
Browse files

[CIFS] update limit for snprintf in cifs_construct_tcon



In 34c87901 "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: default avatarDan Carpenter <error27@gmail.com>
Signed-off-by: default avatarSteve French <sfrench@us.ibm.com>
parent 62411ab2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment