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

diff --git a/CHANGES b/CHANGES
index 5fac4ba27faad47102a6a9fb31e7f1abb383d2db..8dce9ed14959c2a70dc173169bf19d7671610a2e 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -34,6 +34,7 @@ OpenLDAP 2.4.9 Engineering
        Fixed slapd-ldif file name handling (ITS#5408)
        Fixed slapd-meta connections on error (ITS#5440)
        Fixed slapd-meta crash on search (ITS#5481)
+       Fixed slapo-accesslog null callback stack crash (ITS#5490)
        Fixed slapo-auditlog unnecessary syscall (ITS#5441)
        Fixed slapo-refint dnSubtreeMatch (ITS#5427)
        Fixed slapo-refint global referential integrity (ITS#5428)
index c77732a729bddb8cbeee112cb7e0b17eee7b6cb6..5eee81b627e869ef298150dc8b93f5cff11bcc4a 100644 (file)
@@ -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;