]> git.sur5r.net Git - openldap/commitdiff
ITS#8092 no-op if there's no context
authorHoward Chu <hyc@openldap.org>
Wed, 1 Apr 2015 20:17:35 +0000 (21:17 +0100)
committerQuanah Gibson-Mount <quanah@openldap.org>
Fri, 3 Apr 2015 19:11:01 +0000 (14:11 -0500)
servers/slapd/sasl.c

index 74bc60b4f7b0ca118895331cf2e7370cbe06bdf9..acdd1602b0583485c7978fc52c4b7c0e4b60f142 100644 (file)
@@ -315,6 +315,10 @@ slap_auxprop_lookup(
                }
        }
 
+       /* we don't know anything about this, ignore it */
+       if ( !conn )
+               return SASL_OK;
+
        /* Now see what else needs to be fetched */
        for( i = 0; sl.list[i].name; i++ ) {
                const char *name = sl.list[i].name;