From 453799eb978a24e6af8f4be4db5e4a0f9809ea4a Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Thu, 9 Dec 2021 17:51:39 +0000 Subject: [PATCH] ITS#9707 also: don't log null cookie --- servers/slapd/syncrepl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/servers/slapd/syncrepl.c b/servers/slapd/syncrepl.c index 69d288efc9..ee7391c27c 100644 --- a/servers/slapd/syncrepl.c +++ b/servers/slapd/syncrepl.c @@ -1097,7 +1097,8 @@ do_syncrep1( } Debug( LDAP_DEBUG_SYNC, "do_syncrep1: %s starting refresh (sending cookie=%s)\n", - si->si_ridtxt, si->si_syncCookie.octet_str.bv_val ); + si->si_ridtxt, si->si_syncCookie.octet_str.bv_val ? + si->si_syncCookie.octet_str.bv_val : "" ); if ( si->si_syncCookie.octet_str.bv_val ) { ldap_pvt_thread_mutex_lock( &si->si_monitor_mutex ); -- 2.47.3