From 012b7f0e7d540b4e308b6242413d3546ffc4278f Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 1 Apr 2015 21:17:35 +0100 Subject: [PATCH] ITS#8092 no-op if there's no context --- servers/slapd/sasl.c | 4 ++++ 1 file changed, 4 insertions(+) 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; -- 2.39.5