From: Jeremy Allison Date: Wed, 15 Mar 2006 02:16:14 +0000 (+0000) Subject: r14406: Disable this call until we can sort out how this X-Git-Tag: samba-misc-tags/initial-v3-0-unstable~3347 X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=d241f74e06eac7b61e5b7e09c2b9a955ec560fec;p=samba.git r14406: Disable this call until we can sort out how this should be done correctly. Fix coverity #37. Jeremy. --- 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;