]> git.sur5r.net Git - openldap/commitdiff
ITS#6425
authorQuanah Gibson-Mount <quanah@openldap.org>
Wed, 9 Dec 2009 00:15:42 +0000 (00:15 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Wed, 9 Dec 2009 00:15:42 +0000 (00:15 +0000)
CHANGES
servers/slapd/syncrepl.c

diff --git a/CHANGES b/CHANGES
index 10b45c2f84c3f7da84af00bce1ca1bb7bdc4e3a2..996ca5ec550efb624a1b95bc4be2c32631e1d6c8 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -5,6 +5,7 @@ OpenLDAP 2.4.21 Engineering
        Fixed slapd looping with SSL/TLS connections (ITS#6412)
        Fixed slapd syncrepl freeing tasks from queue (ITS#6413)
        Fixed slapd syncrepl parsing of tls defaults (ITS#6419)
+       Fixed slapd syncrepl uninitialized variables (ITS#6425)
        Fixed slapd-config Adds with Abstract classes (ITS#6408)
        Fixed slapo-dynlist behavior with simple filters (ITS#6421)
        Fixed slapd-ldif access outside database directory (ITS#6414)
index 7d18ea23c1dfbcd7798879570cf920f63bd428ea..02236b0bac751228b1b92cd6e521a9b8ab320694 100644 (file)
@@ -810,7 +810,7 @@ do_syncrep2(
                        ldap_get_entry_controls( si->si_ld, msg, &rctrls );
                        /* we can't work without the control */
                        if ( rctrls ) {
-                               LDAPControl **next;
+                               LDAPControl **next = NULL;
                                /* NOTE: make sure we use the right one;
                                 * a better approach would be to run thru
                                 * the whole list and take care of all */
@@ -998,7 +998,7 @@ do_syncrep2(
                                        si->si_ridtxt, err, ldap_err2string( err ) );
                        }
                        if ( rctrls ) {
-                               LDAPControl **next;
+                               LDAPControl **next = NULL;
                                /* NOTE: make sure we use the right one;
                                 * a better approach would be to run thru
                                 * the whole list and take care of all */