summaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifs_uniupr.h
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2010-08-18 19:13:39 +0200
committerSteve French <sfrench@us.ibm.com>2010-08-18 19:26:25 +0200
commitfc87a40677bbe0937e2ff0642c7e83c9a4813f3d (patch)
tree31912b8904ee316cee40d568db330c4e65e39325 /fs/cifs/cifs_uniupr.h
parentcifs: consolidate error handling in several functions (diff)
downloadlinux-fc87a40677bbe0937e2ff0642c7e83c9a4813f3d.tar.xz
linux-fc87a40677bbe0937e2ff0642c7e83c9a4813f3d.zip
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>
Diffstat (limited to 'fs/cifs/cifs_uniupr.h')
0 files changed, 0 insertions, 0 deletions