From cc2e7052bd05a15f43268ce87dc29506bb5bb5bf Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Thu, 12 Jan 2006 17:37:25 +0000 Subject: [PATCH] r12870: fixing net rpc registry enumerate from overwritnig the open subkey handle --- source/utils/net_rpc_registry.c | 1 - 1 file changed, 1 deletion(-) diff --git a/source/utils/net_rpc_registry.c b/source/utils/net_rpc_registry.c index 289fb59fea3..4ce0b44e4cd 100644 --- a/source/utils/net_rpc_registry.c +++ b/source/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 */