Loading source3/nsswitch/wb_client.c +1 −0 Original line number Diff line number Diff line Loading @@ -270,6 +270,7 @@ static int wb_getgroups(const char *user, gid_t **groups) /* Call winbindd */ ZERO_STRUCT(request); fstrcpy(request.data.username, user); ZERO_STRUCT(response); Loading source3/nsswitch/winbindd_group.c +3 −0 Original line number Diff line number Diff line Loading @@ -631,6 +631,9 @@ enum winbindd_result winbindd_getgrent(struct winbindd_cli_state *state) malloc(num_groups * sizeof(struct winbindd_gr))) == NULL) return WINBINDD_ERROR; memset(state->response.extra_data, '\0', num_groups * sizeof(struct winbindd_gr) ); state->response.data.num_entries = 0; group_list = (struct winbindd_gr *)state->response.extra_data; Loading source3/nsswitch/winbindd_pam.c +1 −0 Original line number Diff line number Diff line Loading @@ -48,6 +48,7 @@ static NTSTATUS append_info3_as_ndr(TALLOC_CTX *mem_ctx, prs_mem_free(&ps); return NT_STATUS_NO_MEMORY; } memset( state->response.extra_data, '\0', size ); prs_copy_all_data_out(state->response.extra_data, &ps); state->response.length += size; prs_mem_free(&ps); Loading Loading
source3/nsswitch/wb_client.c +1 −0 Original line number Diff line number Diff line Loading @@ -270,6 +270,7 @@ static int wb_getgroups(const char *user, gid_t **groups) /* Call winbindd */ ZERO_STRUCT(request); fstrcpy(request.data.username, user); ZERO_STRUCT(response); Loading
source3/nsswitch/winbindd_group.c +3 −0 Original line number Diff line number Diff line Loading @@ -631,6 +631,9 @@ enum winbindd_result winbindd_getgrent(struct winbindd_cli_state *state) malloc(num_groups * sizeof(struct winbindd_gr))) == NULL) return WINBINDD_ERROR; memset(state->response.extra_data, '\0', num_groups * sizeof(struct winbindd_gr) ); state->response.data.num_entries = 0; group_list = (struct winbindd_gr *)state->response.extra_data; Loading
source3/nsswitch/winbindd_pam.c +1 −0 Original line number Diff line number Diff line Loading @@ -48,6 +48,7 @@ static NTSTATUS append_info3_as_ndr(TALLOC_CTX *mem_ctx, prs_mem_free(&ps); return NT_STATUS_NO_MEMORY; } memset( state->response.extra_data, '\0', size ); prs_copy_all_data_out(state->response.extra_data, &ps); state->response.length += size; prs_mem_free(&ps); Loading