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)
committerUri Simchoni <uri@samba.org>
Wed, 22 Jun 2016 08:33:29 +0000 (10:33 +0200)
commitc0704d99ce43a5497a29bfc53331159e4f978441
treeca60d7eed88cc20b71f5c3869cd5162791bf8397
parente29d8f108cd090706dc3f54282f5c33ec30df899
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
source3/libsmb/cli_smb2_fnum.c