[SCM] Samba Shared Repository - branch master updated
Volker Lendecke
vlendec at samba.org
Fri Dec 18 00:03:05 UTC 2015
The branch, master has been updated
via d7feb18 s3: libsmb: Correctly initialize the list head when keeping a list of primary followed by DFS connections.
from f27ba17 vfs_glusterfs: Fix a memory leak in AIO
https://git.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit d7feb1879ee711598540049c2c5eccc80fd6f1e5
Author: Jeremy Allison <jra at samba.org>
Date: Wed Dec 16 11:04:20 2015 -0800
s3: libsmb: Correctly initialize the list head when keeping a list of primary followed by DFS connections.
Greatly helped by <shargagan at novell.com> to
track down this issue.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11624
Signed-off-by: Jeremy Allison <jra at samba.org>
Reviewed-by: Volker Lendecke <vl at samba.org>
Autobuild-User(master): Volker Lendecke <vl at samba.org>
Autobuild-Date(master): Fri Dec 18 01:02:55 CET 2015 on sn-devel-144
-----------------------------------------------------------------------
Summary of changes:
source3/libsmb/libsmb_server.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/libsmb/libsmb_server.c b/source3/libsmb/libsmb_server.c
index 2abd37e..06c0211 100644
--- a/source3/libsmb/libsmb_server.c
+++ b/source3/libsmb/libsmb_server.c
@@ -620,7 +620,7 @@ SMBC_server_internal(TALLOC_CTX *ctx,
}
ZERO_STRUCTP(srv);
- srv->cli = c;
+ DLIST_ADD(srv->cli, c);
srv->dev = (dev_t)(str_checksum(server) ^ str_checksum(share));
srv->no_pathinfo = False;
srv->no_pathinfo2 = False;
@@ -816,7 +816,7 @@ SMBC_attr_server(TALLOC_CTX *ctx,
}
ZERO_STRUCTP(ipc_srv);
- ipc_srv->cli = ipc_cli;
+ DLIST_ADD(ipc_srv->cli, ipc_cli);
nt_status = cli_rpc_pipe_open_noauth(
ipc_srv->cli, &ndr_table_lsarpc, &pipe_hnd);
--
Samba Shared Repository
More information about the samba-cvs
mailing list