mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
ITS#5490 callback stack may be NULL
This commit is contained in:
parent
b94eac4778
commit
b0ffd08504
@ -1348,7 +1348,7 @@ static int accesslog_response(Operation *op, SlapReply *rs) {
|
||||
old = li->li_old;
|
||||
li->li_old = NULL;
|
||||
/* Disarm mod_cleanup */
|
||||
for ( cb = op->o_callback->sc_next; cb; cb = cb->sc_next ) {
|
||||
for ( cb = op->o_callback; cb; cb = cb->sc_next ) {
|
||||
if ( cb->sc_private == (void *)on ) {
|
||||
cb->sc_private = NULL;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user