]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#9052 zero out sasl_ssf in connection_init
authorHoward Chu <hyc@openldap.org>
Wed, 10 Jul 2019 20:29:39 +0000 (21:29 +0100)
committerHoward Chu <hyc@openldap.org>
Wed, 10 Jul 2019 20:29:39 +0000 (21:29 +0100)
servers/slapd/connection.c

index 34ecaa85af5ba13d7458a124cf8db173ac08adec..a9a8d119faaca158f221ae10e6742d0de67d438c 100644 (file)
@@ -535,7 +535,7 @@ Connection * connection_init(
        c->c_close_reason = "?";                        /* should never be needed */
 
        c->c_ssf = c->c_transport_ssf = ssf;
-       c->c_tls_ssf = 0;
+       c->c_tls_ssf = c->c_sasl_ssf = 0;
 
 #ifdef HAVE_TLS
        if ( flags & CONN_IS_TLS ) {