diff options
author | Paulo Alcantara <[email protected]> | 2024-02-11 20:19:31 -0300 |
---|---|---|
committer | Steve French <[email protected]> | 2024-02-12 12:47:21 -0600 |
commit | 8bde59b20de06339d598e8b05e5195f7c631c38b (patch) | |
tree | 747b1929632fba1ae016734c5b53622135886921 /lib/test-string_helpers.c | |
parent | 4508ec17357094e2075f334948393ddedbb75157 (diff) |
smb: client: handle path separator of created SMB symlinks
Convert path separator to CIFS_DIR_SEP(cifs_sb) from symlink target
before sending it over the wire otherwise the created SMB symlink may
become innaccesible from server side.
Fixes: 514d793e27a3 ("smb: client: allow creating symlinks via reparse points")
Signed-off-by: Paulo Alcantara (Red Hat) <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions