commit | 04febabcf55beeffb8794a0d8c539e571bd2ae29 | [log] [tgz] |
---|---|---|
author | Jeff Layton <jlayton@redhat.com> | Tue Jan 17 16:09:15 2012 -0500 |
committer | Steve French <smfrench@gmail.com> | Tue Jan 17 22:40:26 2012 -0600 |
tree | 8727fdf5c811bab3d164293488cd5e1a3816276c | |
parent | 9f6ed2ca257fa8650b876377833e6f14e272848b [diff] |
cifs: sanitize username handling Currently, it's not very clear whether you're allowed to have a NULL vol->username or ses->user_name. Some places check for it and some don't. Make it clear that a NULL pointer is OK in these fields, and ensure that all the callers check for that. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <smfrench@gmail.com>