From: Quanah Gibson-Mount Date: Thu, 1 May 2008 22:36:54 +0000 (+0000) Subject: ITS#5490 X-Git-Tag: OPENLDAP_REL_ENG_2_3_42~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32b46347943c3bb9bf3658634e47ed778f3bcf83;p=thirdparty%2Fopenldap.git ITS#5490 --- diff --git a/CHANGES b/CHANGES index 930463dcb5..3d30ef1282 100644 --- a/CHANGES +++ b/CHANGES @@ -7,6 +7,7 @@ OpenLDAP 2.3.42 Engineering Fixed slapd delta-syncrepl resync (ITS#5378) Fixed slapd pagedresults stale state (ITS#5409) Fixed slapd-ldap connection handler (ITS#5404) + Fixed slapo-accesslog null callback stack crash (ITS#5490) OpenLDAP 2.3.41 Release (2008/02/19) Fixed slapd timestamp race condition (ITS#5370) diff --git a/servers/slapd/overlays/accesslog.c b/servers/slapd/overlays/accesslog.c index d4a0f4dbfe..82e5adbec3 100644 --- a/servers/slapd/overlays/accesslog.c +++ b/servers/slapd/overlays/accesslog.c @@ -915,7 +915,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;