From 1ed9fff84cf52932ce54e65ab4986ca49592ee76 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Thu, 25 May 2006 01:05:29 +0000 Subject: [PATCH] Fix uninit'd var --- servers/slapd/config.c | 1 + 1 file changed, 1 insertion(+) diff --git a/servers/slapd/config.c b/servers/slapd/config.c index d6e09186f2..ef8c522472 100644 --- a/servers/slapd/config.c +++ b/servers/slapd/config.c @@ -431,6 +431,7 @@ config_get_vals(ConfigTable *cf, ConfigArgs *c) } } if ( cf->arg_type & ARGS_TYPES) { + bv.bv_len = 0; bv.bv_val = c->log; switch(cf->arg_type & ARGS_TYPES) { case ARG_INT: bv.bv_len = snprintf(bv.bv_val, sizeof( c->log ), "%d", c->value_int); break; -- 2.39.5