summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-02-24 03:43:49 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-02-24 03:43:49 +0000
commita65b65c87a61ed602cce36a24c14c02ad3b373bc (patch)
tree4c938f466201dbeae01e128be244be73a2c95782 /source3
parent630944d179bd3b1ff877b9c52c00c3f452a2e9cf (diff)
downloadsamba-a65b65c87a61ed602cce36a24c14c02ad3b373bc.tar.gz
samba-a65b65c87a61ed602cce36a24c14c02ad3b373bc.tar.bz2
samba-a65b65c87a61ed602cce36a24c14c02ad3b373bc.zip
Make sure these values are never uninitialsised.
(This used to be commit eacb8dde7afa16d86586c6c896ffb6692dc53bf6)
Diffstat (limited to 'source3')
-rw-r--r--source3/libads/ldap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libads/ldap.c b/source3/libads/ldap.c
index bc90e90ea0..29f44672f4 100644
--- a/source3/libads/ldap.c
+++ b/source3/libads/ldap.c
@@ -816,8 +816,8 @@ static ADS_STATUS ads_modlist_add(TALLOC_CTX *ctx, ADS_MODLIST *mods,
{
int curmod;
LDAPMod **modlist = (LDAPMod **) *mods;
- struct berval **ber_values;
- char **char_values;
+ struct berval **ber_values = NULL;
+ char **char_values = NULL;
if (!invals) {
mod_op = LDAP_MOD_DELETE;