From 52a966968bc9a97a7eda295c5131e680b5f82da1 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 74bc60b4f7..acdd1602b0 100644 --- a/servers/slapd/sasl.c +++ b/servers/slapd/sasl.c @@ -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; -- 2.39.2