mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-22 15:49:34 -05:00
ITS#2887 fix slapi crash
This commit is contained in:
parent
8aaaad0dd7
commit
c7da63df3d
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue