From 68ab73a0f5d03793543eeebea7829ad322b94289 Mon Sep 17 00:00:00 2001 From: Mark Adamson Date: Tue, 23 Jan 2001 19:18:03 +0000 Subject: [PATCH] Make sure the variable used for SASL REALM is initialized, in case of no REALM. --- servers/slapd/sasl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/sasl.c b/servers/slapd/sasl.c index 71abec70ad..f447a75c22 100644 --- a/servers/slapd/sasl.c +++ b/servers/slapd/sasl.c @@ -82,7 +82,7 @@ slap_sasl_log( int slap_sasl_getdn( Connection *conn, char *id, char **dnptr, int flags ) { - char *c, *c1, *dn=NULL; + char *c=NULL, *c1, *dn=NULL; int rc, len; sasl_conn_t *ctx; -- 2.39.5