mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-24 13:24:56 +08:00
ITS#2887 fix slapi crash
This commit is contained in:
parent
8aaaad0dd7
commit
c7da63df3d
@ -248,7 +248,7 @@ send_ldap_controls( Operation *o, BerElement *ber, LDAPControl **c )
|
||||
* plugin.
|
||||
*/
|
||||
|
||||
if ( slapi_pblock_get( o->o_pb, SLAPI_RESCONTROLS, &sctrls ) != 0 ) {
|
||||
if ( o->o_pb && slapi_pblock_get( o->o_pb, SLAPI_RESCONTROLS, &sctrls ) != 0 ) {
|
||||
sctrls = NULL;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user