]> git.sur5r.net Git - openldap/commitdiff
ITS#5490
authorQuanah Gibson-Mount <quanah@openldap.org>
Thu, 1 May 2008 22:36:54 +0000 (22:36 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Thu, 1 May 2008 22:36:54 +0000 (22:36 +0000)
CHANGES
servers/slapd/overlays/accesslog.c

diff --git a/CHANGES b/CHANGES
index 930463dcb5d76605a634c25ce61277399c145f4d..3d30ef12827e3fdbcf9d16da108005e2f6fa1de0 100644 (file)
--- 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)
index d4a0f4dbfed7c3a4e086aa2b79979a37036ede36..82e5adbec33a49ff95318eddd7ecee2dc83a318d 100644 (file)
@@ -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;