svn commit: samba r19687 - in branches/SAMBA_3_0/source/libads: .
vlendec at samba.org
vlendec at samba.org
Mon Nov 13 10:35:00 GMT 2006
Author: vlendec
Date: 2006-11-13 10:34:59 +0000 (Mon, 13 Nov 2006)
New Revision: 19687
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=19687
Log:
Fix uninitialized variables found by Coverity (and gcc -O1... ;-))
Volker
Modified:
branches/SAMBA_3_0/source/libads/ldap.c
Changeset:
Modified: branches/SAMBA_3_0/source/libads/ldap.c
===================================================================
--- branches/SAMBA_3_0/source/libads/ldap.c 2006-11-13 09:58:51 UTC (rev 19686)
+++ branches/SAMBA_3_0/source/libads/ldap.c 2006-11-13 10:34:59 UTC (rev 19687)
@@ -1301,7 +1301,8 @@
{
ADS_STATUS status;
LDAPMessage *res = NULL;
- char *base, *wkn_dn, *ret = NULL, **wkn_dn_exp, **bind_dn_exp;
+ char *base, *wkn_dn = NULL, *ret = NULL, **wkn_dn_exp = NULL,
+ **bind_dn_exp = NULL;
const char *attrs[] = {"distinguishedName", NULL};
int new_ln, wkn_ln, bind_ln, i;
More information about the samba-cvs
mailing list