From: Howard Chu Date: Wed, 1 Apr 2015 20:17:35 +0000 (+0100) Subject: ITS#8092 no-op if there's no context X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=73d1294470a8fa9dd86212752e6def499e121533;p=openldap ITS#8092 no-op if there's no context --- diff --git a/servers/slapd/sasl.c b/servers/slapd/sasl.c index 66bc8a0266..94cd496df1 100644 --- a/servers/slapd/sasl.c +++ b/servers/slapd/sasl.c @@ -340,6 +340,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;