From: Jeff Layton Date: Wed, 18 Aug 2010 17:13:39 +0000 (-0400) Subject: cifs: fix NULL pointer dereference in cifs_find_smb_ses X-Git-Tag: v2.6.36-rc3~23^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc87a40677bbe0937e2ff0642c7e83c9a4813f3d;p=pandora-kernel.git 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 Signed-off-by: Jeff Layton Signed-off-by: Steve French --- Reading git-diff-tree failed