]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#10339 Do not reuse freed memory
authorOndřej Kuzník <ondra@mistotebe.net>
Tue, 27 May 2025 13:16:07 +0000 (14:16 +0100)
committerQuanah Gibson-Mount <quanah@openldap.org>
Mon, 8 Sep 2025 22:05:15 +0000 (22:05 +0000)
servers/slapd/bconfig.c

index 3ae22a58d0262dd74ec2aa961b7bf2f6fca783b4..f3e52324671a38a6b0cb66191f0d41abb4db3b0a 100644 (file)
@@ -5593,7 +5593,7 @@ ok:
                                snprintf( ca->cr_msg, sizeof( ca->cr_msg ), "<%s> failed startup", ca->argv[0] );
 
                        Debug(LDAP_DEBUG_ANY, "%s: %s (%s)!\n",
-                               ca->log, ca->cr_msg, ca->argv[1] );
+                               ca->log, ca->cr_msg, e->e_name.bv_val );
                        rc = LDAP_OTHER;
                        goto done;
                }