s4-rpc_server/drsuapi: Avoid modification to ncRoot input variable in GetNCChanges
authorAndrew Bartlett <abartlet@samba.org>
Tue, 27 Jun 2023 02:39:18 +0000 (14:39 +1200)
committerJule Anger <janger@samba.org>
Mon, 21 Aug 2023 07:40:16 +0000 (07:40 +0000)
commit7c63aa69594c41f302acfb85dba332b45388869f
tree556b7993904c09c530d4694943764137e66a77d4
parentc72b5f25eb07659d9afd80df71dab02bd7561d39
s4-rpc_server/drsuapi: Avoid modification to ncRoot input variable in GetNCChanges

This tries to avoid it appearing that ncRoot is a value that can
be trusted and used internally by not updating it and instead leaving
it just as an input/echo-back value.

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit 548f141f11e89d335d8f9d74ab6925fa6b90fb84)
source4/rpc_server/drsuapi/getncchanges.c