]> git.karo-electronics.de Git - karo-tx-linux.git/commit
cifs: Allow passwords which begin with a delimitor
authorSachin Prabhu <sprabhu@redhat.com>
Tue, 9 Apr 2013 17:17:41 +0000 (18:17 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Apr 2013 04:48:28 +0000 (21:48 -0700)
commit30b1addb438fe0480d6e4c78bb8f66040840f8ac
tree1c8b91c5165fe21846e2907e70164ea34873758c
parent978ddcd80a05229e14d8f078ee99bbf2d0f71867
cifs: Allow passwords which begin with a delimitor

commit c369c9a4a7c82d33329d869cbaf93304cc7a0c40 upstream.

Fixes a regression in cifs_parse_mount_options where a password
which begins with a delimitor is parsed incorrectly as being a blank
password.

Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
Acked-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/cifs/connect.c