diff options
author | Volker Lendecke <vl@samba.org> | 2011-03-27 20:06:19 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2011-03-27 22:22:10 +0200 |
commit | c07be5f74769d5a3fe450e86ca7e56e9738a3bf6 (patch) | |
tree | af2c4f5c69285c6a4cd84e25385f78c60f1517a8 | |
parent | a431394ce37a3f647953969c85aac4415184a532 (diff) | |
download | samba-c07be5f74769d5a3fe450e86ca7e56e9738a3bf6.tar.gz samba-c07be5f74769d5a3fe450e86ca7e56e9738a3bf6.tar.bz2 samba-c07be5f74769d5a3fe450e86ca7e56e9738a3bf6.zip |
s3: Fix Coverity ID 976: BAD_SIZEOF
-rw-r--r-- | source3/passdb/pdb_wbc_sam.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/pdb_wbc_sam.c b/source3/passdb/pdb_wbc_sam.c index 9af8e4f81b..c1a7b75943 100644 --- a/source3/passdb/pdb_wbc_sam.c +++ b/source3/passdb/pdb_wbc_sam.c @@ -50,7 +50,7 @@ static NTSTATUS _pdb_wbc_sam_getsampw(struct pdb_methods *methods, if (pwd == NULL) return NT_STATUS_NO_SUCH_USER; - memset(user, 0, sizeof(user)); + ZERO_STRUCTP(user); /* Can we really get away with this little of information */ user->methods = methods; |