summaryrefslogtreecommitdiffstats
path: root/source
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
commitcc2e7052bd05a15f43268ce87dc29506bb5bb5bf (patch)
treee214a0ce9f3970cd65bb5fe2d84b27f32677dfe5 /source
parentb76c7b613282dc89c54faf3e7cef98f7651c5a9d (diff)
downloadsamba-cc2e7052bd05a15f43268ce87dc29506bb5bb5bf.tar.gz
samba-cc2e7052bd05a15f43268ce87dc29506bb5bb5bf.tar.xz
samba-cc2e7052bd05a15f43268ce87dc29506bb5bb5bf.zip
r12870: fixing net rpc registry enumerate from overwritnig the open subkey handle
Diffstat (limited to 'source')
-rw-r--r--source/utils/net_rpc_registry.c1
1 files changed, 0 insertions, 1 deletions
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 */