[SCM] Samba Shared Repository - branch v4-13-test updated

Karolin Seeger kseeger at samba.org
Mon Apr 19 07:54:02 UTC 2021


The branch, v4-13-test has been updated
       via  2022e490d5e s3-iremotewinspool: set the per-request memory context
      from  56156a8fd54 build: Only add -Wl,--as-needed when supported

https://git.samba.org/?p=samba.git;a=shortlog;h=v4-13-test


- Log -----------------------------------------------------------------
commit 2022e490d5e506b5b07b02578a68b124241bdad6
Author: Samuel Cabrero <scabrero at samba.org>
Date:   Thu Apr 8 18:45:38 2021 +0200

    s3-iremotewinspool: set the per-request memory context
    
    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 at samba.org>
    Reviewed-by: Ralph Boehme <slow at samba.org>
    
    Autobuild-User(master): Ralph Böhme <slow at samba.org>
    Autobuild-Date(master): Fri Apr  9 15:20:02 UTC 2021 on sn-devel-184
    
    (cherry picked from commit 1efa9ffd7ae77ebf22b28c12dd642a89991b75d2)
    
    Autobuild-User(v4-13-test): Karolin Seeger <kseeger at samba.org>
    Autobuild-Date(v4-13-test): Mon Apr 19 07:53:48 UTC 2021 on sn-devel-184

-----------------------------------------------------------------------

Summary of changes:
 source3/rpc_server/spoolss/srv_iremotewinspool.c | 2 ++
 1 file changed, 2 insertions(+)


Changeset truncated at 500 lines:

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;


-- 
Samba Shared Repository



More information about the samba-cvs mailing list