summaryrefslogtreecommitdiffstats
path: root/source/libmsrpc
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-03-15 02:16:14 +0000
committerJeremy Allison <jra@samba.org>2006-03-15 02:16:14 +0000
commita48e68b1272a53b031aaf7b9812b4c5b7c1532c7 (patch)
tree97ddc2104c2ca2182cafcb2ddd93414492b4f810 /source/libmsrpc
parentb191e36ddd7050636a59558d4092378ae5aff195 (diff)
downloadsamba-a48e68b1272a53b031aaf7b9812b4c5b7c1532c7.tar.gz
samba-a48e68b1272a53b031aaf7b9812b4c5b7c1532c7.tar.xz
samba-a48e68b1272a53b031aaf7b9812b4c5b7c1532c7.zip
r14406: Disable this call until we can sort out how this
should be done correctly. Fix coverity #37. Jeremy.
Diffstat (limited to 'source/libmsrpc')
-rw-r--r--source/libmsrpc/cac_winreg.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/libmsrpc/cac_winreg.c b/source/libmsrpc/cac_winreg.c
index 4f6ae408083..aa847602cc3 100644
--- a/source/libmsrpc/cac_winreg.c
+++ b/source/libmsrpc/cac_winreg.c
@@ -501,6 +501,11 @@ int cac_RegDeleteValue(CacServerHandle *hnd, TALLOC_CTX *mem_ctx, struct RegDele
return CAC_SUCCESS;
}
+#if 0
+/* JRA - disabled until fix. */
+/* This code is currently broken so disable it - it needs to handle the ERROR_MORE_DATA
+ cleanly and resubmit the query. */
+
int cac_RegQueryKeyInfo(CacServerHandle *hnd, TALLOC_CTX *mem_ctx, struct RegQueryKeyInfo *op) {
struct rpc_pipe_client *pipe_hnd = NULL;
WERROR err;
@@ -583,6 +588,7 @@ int cac_RegQueryKeyInfo(CacServerHandle *hnd, TALLOC_CTX *mem_ctx, struct RegQue
return CAC_FAILURE;
}
+#endif
int cac_RegQueryValue(CacServerHandle *hnd, TALLOC_CTX *mem_ctx, struct RegQueryValue *op) {
struct rpc_pipe_client *pipe_hnd = NULL;