From: Mark Adamson Date: Tue, 23 Jan 2001 19:18:03 +0000 (+0000) Subject: Make sure the variable used for SASL REALM is initialized, in case of no REALM. X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~1536 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=68ab73a0f5d03793543eeebea7829ad322b94289;p=openldap Make sure the variable used for SASL REALM is initialized, in case of no REALM. --- 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;