The Samba-Bugzilla – Attachment 12600 Details for
Bug 12387
streams_depot incorrectly uses cwd as streams base directory.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
git-am fix for 4.5.next, 4.4.next
0001-s3-vfs-streams_depot.-Use-conn-connectpath-not-conn-.patch (text/plain), 1.32 KB, created by
Jeremy Allison
on 2016-10-25 19:06:20 UTC
(
hide
)
Description:
git-am fix for 4.5.next, 4.4.next
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2016-10-25 19:06:20 UTC
Size:
1.32 KB
patch
obsolete
>From f9af5945a20e22b89de15adbed48208cef9cdbf8 Mon Sep 17 00:00:00 2001 >From: Jeremy Allison <jra@samba.org> >Date: Fri, 21 Oct 2016 11:04:02 -0700 >Subject: [PATCH] s3: vfs: streams_depot. Use conn->connectpath not conn->cwd. > >conn->cwd can change over the life of the connection, >conn->connectpath remains static. > >BUG: https://bugzilla.samba.org/show_bug.cgi?id=12387 > >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): Mon Oct 24 23:52:48 CEST 2016 on sn-devel-144 > >(cherry picked from commit 1366385d1c3e9ac0556e954864e60e72f6906942) >--- > source3/modules/vfs_streams_depot.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/source3/modules/vfs_streams_depot.c b/source3/modules/vfs_streams_depot.c >index d874514..aa54b8d 100644 >--- a/source3/modules/vfs_streams_depot.c >+++ b/source3/modules/vfs_streams_depot.c >@@ -130,7 +130,8 @@ static char *stream_dir(vfs_handle_struct *handle, > check_valid = lp_parm_bool(SNUM(handle->conn), > "streams_depot", "check_valid", true); > >- tmp = talloc_asprintf(talloc_tos(), "%s/.streams", handle->conn->cwd); >+ tmp = talloc_asprintf(talloc_tos(), "%s/.streams", >+ handle->conn->connectpath); > > if (tmp == NULL) { > errno = ENOMEM; >-- >2.8.0.rc3.226.g39d4020 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
uri
:
review+
Actions:
View
Attachments on
bug 12387
: 12600