diff options
author | Ronnie Sahlberg <lsahlber@redhat.com> | 2021-02-25 17:36:27 +1000 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2021-02-25 12:13:13 -0600 |
commit | d08395a3f2f473c6ceeb316a1aeb7fad5b43014f (patch) | |
tree | a053bb90cf9d88f81d9b462d1fd8b727bcf2ef02 /fs/d_path.c | |
parent | 5780464614f6abe6026f00cf5a0777aa453ba450 (diff) |
cifs: fix handling of escaped ',' in the password mount argument
Passwords can contain ',' which are also used as the separator between
mount options. Mount.cifs will escape all ',' characters as the string ",,".
Update parsing of the mount options to detect ",," and treat it as a single
'c' character.
Fixes: 24e0a1eff9e2 ("cifs: switch to new mount api")
Cc: stable@vger.kernel.org # 5.11
Reported-by: Simon Taylor <simon@simon-taylor.me.uk>
Tested-by: Simon Taylor <simon@simon-taylor.me.uk>
Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/d_path.c')
0 files changed, 0 insertions, 0 deletions