diff options
author | Jeremy Allison <jra@samba.org> | 2004-05-07 18:14:38 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:51:29 -0500 |
commit | 7d9019432f49e887736307cb5c613671f66c51dd (patch) | |
tree | 90bed67f0f2232ecf1fd47a14cb245c1517b62c1 /source3/nsswitch/winbindd_pam.c | |
parent | a442c65e59cd0b7667087f90522883475dfb7eee (diff) | |
download | samba-7d9019432f49e887736307cb5c613671f66c51dd.tar.gz samba-7d9019432f49e887736307cb5c613671f66c51dd.tar.bz2 samba-7d9019432f49e887736307cb5c613671f66c51dd.zip |
r565: Uninitialized data fixes from kawasa_r@itg.hitachi.co.jp.
Jeremy.
(This used to be commit c23a73324b335e42877551283b274f6d12f2c1a7)
Diffstat (limited to 'source3/nsswitch/winbindd_pam.c')
-rw-r--r-- | source3/nsswitch/winbindd_pam.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/nsswitch/winbindd_pam.c b/source3/nsswitch/winbindd_pam.c index c1840b6053..25f53e7a53 100644 --- a/source3/nsswitch/winbindd_pam.c +++ b/source3/nsswitch/winbindd_pam.c @@ -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); |