summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2006-01-12 17:37:25 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:06:05 -0500
commit10b182fe731b48592135e1adf457d15c331aa5a1 (patch)
tree6673ed9ab3e9fddc6324cb3c94fd87e0e786bf69
parente03a68ff7ec92700d4c53fa6b2e029befce9370c (diff)
downloadsamba-10b182fe731b48592135e1adf457d15c331aa5a1.tar.gz
samba-10b182fe731b48592135e1adf457d15c331aa5a1.tar.bz2
samba-10b182fe731b48592135e1adf457d15c331aa5a1.zip
r12870: fixing net rpc registry enumerate from overwritnig the open subkey handle
(This used to be commit cc2e7052bd05a15f43268ce87dc29506bb5bb5bf)
-rw-r--r--source3/utils/net_rpc_registry.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/utils/net_rpc_registry.c b/source3/utils/net_rpc_registry.c
index 289fb59fea..4ce0b44e4c 100644
--- a/source3/utils/net_rpc_registry.c
+++ b/source3/utils/net_rpc_registry.c
@@ -124,7 +124,6 @@ static NTSTATUS rpc_registry_enumerate_internal(const DOM_SID *domain_sid,
return werror_to_ntstatus(result);
}
}
- memcpy( &pol_key, &pol_hive, sizeof(POLICY_HND) );
/* get the subkeys */