ITS#8092 no-op if there's no context

This commit is contained in:
Howard Chu 2015-04-01 21:17:35 +01:00
parent de76b8d1ce
commit 012b7f0e7d

View file

@ -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;