commit | fc87a40677bbe0937e2ff0642c7e83c9a4813f3d | [log] [tgz] |
---|---|---|
author | Jeff Layton <jlayton@redhat.com> | Wed Aug 18 13:13:39 2010 -0400 |
committer | Steve French <sfrench@us.ibm.com> | Wed Aug 18 17:26:25 2010 +0000 |
tree | 31912b8904ee316cee40d568db330c4e65e39325 | |
parent | 232341ba7fa15115d40f6aa0f8dd14e96e3ad375 [diff] |
cifs: fix NULL pointer dereference in cifs_find_smb_ses cifs_find_smb_ses assumes that the vol->password field is a valid pointer, but that's only the case if a password was passed in via the options string. It's possible that one won't be if there is no mount helper on the box. Reported-by: diabel <gacek-2004@wp.pl> Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <sfrench@us.ibm.com>