ITS#10170 accesslog: skip response if not fully initialized yet

This commit is contained in:
Howard Chu 2024-02-07 17:02:52 +00:00 committed by Quanah Gibson-Mount
parent 6300d12718
commit 321a6b337f

View file

@ -2044,7 +2044,7 @@ accesslog_op_mod( Operation *op, SlapReply *rs )
return SLAP_CB_CONTINUE;
/* can't do anything if logDB isn't open */
if ( !SLAP_DBOPEN( li->li_db ))
if ( !li->li_db || !SLAP_DBOPEN( li->li_db ))
return SLAP_CB_CONTINUE;
logop = accesslog_op2logop( op );