From 0413849c3b2d3a880113fcdb8f18af0000634051 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 4 Jun 2004 20:36:44 +0000 Subject: 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) --- source4/rpc_server/samr/dcesrv_samr.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- cgit