CVE-2022-38023 s3:rpc_server/netlogon: Avoid unnecessary loadparm_context allocations
commit02e56ac1bb5c97e10b57c76c0f14fc9b3b06779d
authorSamuel Cabrero <scabrero@suse.de>
Thu, 22 Dec 2022 15:32:40 +0000 (22 16:32 +0100)
committerJule Anger <janger@samba.org>
Mon, 23 Jan 2023 10:01:59 +0000 (23 10:01 +0000)
tree7d537e69dd872f6ed59b69a7a66b4ba113cb024e
parent3e7bbe047fef8e5f907d1b3725f1d0d40996fbd1
CVE-2022-38023 s3:rpc_server/netlogon: Avoid unnecessary loadparm_context allocations

After s3 and s4 rpc servers merge the loadparm_context is available in
the dcesrv_context structure.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15240

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Mon Jan  9 15:17:14 UTC 2023 on sn-devel-184

(cherry picked from commit 56837f3d3169a02d0d92bd085d9c8250415ce29b)
source3/rpc_server/netlogon/srv_netlog_nt.c