]> 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)
committerQuanah Gibson-Mount <quanah@openldap.org>
Mon, 15 Jul 2019 16:01:13 +0000 (16:01 +0000)
servers/slapd/connection.c

index b85bcb4c6e1af9e2c97661bd9f422c5ff0781f2b..704067c55ffddbd346d3a5488b7e247bb558bfe8 100644 (file)
@@ -554,7 +554,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 ) {