1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

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 commit is contained in:
Stefan Metzmacher 2004-06-04 20:36:44 +00:00 committed by Gerald (Jerry) Carter
parent 90f4777dfc
commit e21f8a3430

View File

@ -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;