summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-06-04 20:36:44 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:56:26 -0500
commit0413849c3b2d3a880113fcdb8f18af0000634051 (patch)
treefb1a9a47c96e914be7b47357f5e78bcbf16dd03a /source4
parent2d6207add7a2e16db619a4cfc1a94ae4ad2fd9e8 (diff)
downloadsamba-0413849c3b2d3a880113fcdb8f18af0000634051.tar.gz
samba-0413849c3b2d3a880113fcdb8f18af0000634051.tar.bz2
samba-0413849c3b2d3a880113fcdb8f18af0000634051.zip
r1013: WE NEED ALWAYS TO INIT THE OUTPUT VARS!
in rpc server code! add missing ZERO_STRUCT(r->out.info); in samr_GetDomPwInfo metze (This used to be commit e21f8a343022424097ff53cd8d5e16ac46fff772)
Diffstat (limited to 'source4')
-rw-r--r--source4/rpc_server/samr/dcesrv_samr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/rpc_server/samr/dcesrv_samr.c b/source4/rpc_server/samr/dcesrv_samr.c
index 2811a09534..eb9f58cfb4 100644
--- a/source4/rpc_server/samr/dcesrv_samr.c
+++ b/source4/rpc_server/samr/dcesrv_samr.c
@@ -2074,6 +2074,8 @@ static NTSTATUS samr_GetDomPwInfo(struct dcesrv_call_state *dce_call, TALLOC_CTX
const char * const attrs[] = {"minPwdLength", "pwdProperties", NULL };
void *sam_ctx;
+ ZERO_STRUCT(r->out.info);
+
sam_ctx = samdb_connect();
if (sam_ctx == NULL) {
return NT_STATUS_INVALID_SYSTEM_SERVICE;