ITS#2887 fix slapi crash

This commit is contained in:
Howard Chu 2003-12-23 18:40:56 +00:00
parent 8aaaad0dd7
commit c7da63df3d

View file

@ -248,7 +248,7 @@ send_ldap_controls( Operation *o, BerElement *ber, LDAPControl **c )
* plugin. * 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; sctrls = NULL;
} }