diff options
author | Andrew Bartlett <abartlet@samba.org> | 2003-02-24 03:43:49 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2003-02-24 03:43:49 +0000 |
commit | eacb8dde7afa16d86586c6c896ffb6692dc53bf6 (patch) | |
tree | 17e392cec25235eb12de2a20a24a202033a9320e /source | |
parent | a25f6126647c94551c03bfc28e3fb5ec5ef6264a (diff) | |
download | samba-eacb8dde7afa16d86586c6c896ffb6692dc53bf6.tar.gz samba-eacb8dde7afa16d86586c6c896ffb6692dc53bf6.tar.xz samba-eacb8dde7afa16d86586c6c896ffb6692dc53bf6.zip |
Make sure these values are never uninitialsised.
Diffstat (limited to 'source')
-rw-r--r-- | source/libads/ldap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/libads/ldap.c b/source/libads/ldap.c index bc90e90ea01..29f44672f4d 100644 --- a/source/libads/ldap.c +++ b/source/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; |