]> git.ipfire.org Git - thirdparty/samba.git/commit
s3: libsmb: Correctly trim a trailing \\ character in cli_smb2_create_fnum_send(...
authorJeremy Allison <jra@samba.org>
Tue, 21 Jun 2016 22:49:27 +0000 (15:49 -0700)
committerKarolin Seeger <kseeger@samba.org>
Tue, 28 Jun 2016 14:11:18 +0000 (16:11 +0200)
commita04a2ce48d7eeb90265bf2242eb49a064b0a7bcb
tree8410aed6c329053d0e69d8762d9d8955370f056f
parentf5bb81a920b5a2504ea77c7c931d214fb0bfaf76
s3: libsmb: Correctly trim a trailing \\ character in cli_smb2_create_fnum_send() when passing a pathname to SMB2 create.

We already trim any leading \\ characters in this function, so this is the simplest place
to clean the pathname.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11986

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Uri Simchoni <uri@samba.org>
Autobuild-User(master): Uri Simchoni <uri@samba.org>
Autobuild-Date(master): Wed Jun 22 10:33:29 CEST 2016 on sn-devel-144

(cherry picked from commit c0704d99ce43a5497a29bfc53331159e4f978441)
source3/libsmb/cli_smb2_fnum.c