The Samba-Bugzilla – Attachment 16587 Details for
Bug 14675
Memory leak in the RPC server
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Additional patch for 4.13 and 4.14, cherry-picked from master
0001-s3-iremotewinspool-set-the-per-request-memory-contex.patch (text/plain), 1.74 KB, created by
Samuel Cabrero
on 2021-04-12 10:18:19 UTC
(
hide
)
Description:
Additional patch for 4.13 and 4.14, cherry-picked from master
Filename:
MIME Type:
Creator:
Samuel Cabrero
Created:
2021-04-12 10:18:19 UTC
Size:
1.74 KB
patch
obsolete
>From 1cc9c0d75625ef25a6c38263911e120bd706e5e0 Mon Sep 17 00:00:00 2001 >From: Samuel Cabrero <scabrero@samba.org> >Date: Thu, 8 Apr 2021 18:45:38 +0200 >Subject: [PATCH] s3-iremotewinspool: set the per-request memory context >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >The iremotewinspool service is not using the pidl autogenerated code. >Set the per-request memory context following the changes made is commit >5a7e9ade9a4cdfa68900c6a64b639f53c0da47ad. > >BUG: https://bugzilla.samba.org/show_bug.cgi?id=14675 >CI: https://gitlab.com/samba-team/samba/-/merge_requests/1890 > >Signed-off-by: Samuel Cabrero <scabrero@samba.org> >Reviewed-by: Ralph Boehme <slow@samba.org> > >Autobuild-User(master): Ralph Böhme <slow@samba.org> >Autobuild-Date(master): Fri Apr 9 15:20:02 UTC 2021 on sn-devel-184 > >(cherry picked from commit 1efa9ffd7ae77ebf22b28c12dd642a89991b75d2) >--- > source3/rpc_server/spoolss/srv_iremotewinspool.c | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/source3/rpc_server/spoolss/srv_iremotewinspool.c b/source3/rpc_server/spoolss/srv_iremotewinspool.c >index 26b225818f8..d6a983c722a 100644 >--- a/source3/rpc_server/spoolss/srv_iremotewinspool.c >+++ b/source3/rpc_server/spoolss/srv_iremotewinspool.c >@@ -100,6 +100,7 @@ static NTSTATUS iremotewinspool__op_dispatch_internal(struct dcesrv_call_state * > /* Update pipes struct opnum */ > p->opnum = opnum; > p->dce_call = dce_call; >+ p->mem_ctx = mem_ctx; > /* Update pipes struct session info */ > pipe_session_info = p->session_info; > p->session_info = dce_call->auth_state->session_info; >@@ -1238,6 +1239,7 @@ fail: > } > > p->dce_call = NULL; >+ p->mem_ctx = NULL; > /* Restore session info */ > p->session_info = pipe_session_info; > p->auth.auth_type = 0; >-- >2.31.1 >
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:
slow
:
review+
slow
:
review+
Actions:
View
Attachments on
bug 14675
:
16561
|
16575
| 16587