The Samba-Bugzilla – Attachment 11730 Details for
Bug 11624
Memory leak after smbc_free_context() on the session while accessing shares on DFS junctions
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
git-am fix for master
0001-s3-libsmb-Correctly-initialize-the-list-head-when-ke.patch (text/plain), 1.27 KB, created by
Jeremy Allison
on 2015-12-16 19:14:56 UTC
(
hide
)
Description:
git-am fix for master
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2015-12-16 19:14:56 UTC
Size:
1.27 KB
patch
obsolete
>From 321196ffebc3da1a6cd54a86eaac0825f0d68271 Mon Sep 17 00:00:00 2001 >From: Jeremy Allison <jra@samba.org> >Date: Wed, 16 Dec 2015 11:04:20 -0800 >Subject: [PATCH] s3: libsmb: Correctly initialize the list head when keeping a > list of primary followed by DFS connections. > >Greatly helped by <shargagan@novell.com> to >track down this issue. > >BUG: https://bugzilla.samba.org/show_bug.cgi?id=11624 > >Signed-off-by: Jeremy Allison <jra@samba.org> >--- > source3/libsmb/libsmb_server.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/source3/libsmb/libsmb_server.c b/source3/libsmb/libsmb_server.c >index 07d51ea..13c9d04 100644 >--- a/source3/libsmb/libsmb_server.c >+++ b/source3/libsmb/libsmb_server.c >@@ -615,7 +615,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; >@@ -807,7 +807,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); >-- >2.5.0 >
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
Actions:
View
Attachments on
bug 11624
:
11629
|
11730
|
11738