From 2da02e7770c01fddce8eab536fdc9c15725ecb6e Mon Sep 17 00:00:00 2001 From: Quanah Gibson-Mount Date: Thu, 1 May 2008 22:37:48 +0000 Subject: [PATCH] ITS#5490 --- CHANGES | 1 + servers/slapd/overlays/accesslog.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 5fac4ba27f..8dce9ed149 100644 --- 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) diff --git a/servers/slapd/overlays/accesslog.c b/servers/slapd/overlays/accesslog.c index c77732a729..5eee81b627 100644 --- a/servers/slapd/overlays/accesslog.c +++ b/servers/slapd/overlays/accesslog.c @@ -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; -- 2.39.5