]> git.sur5r.net Git - openldap/commitdiff
fix possible uninit bug
authorKurt Zeilenga <kurt@openldap.org>
Sat, 21 Sep 2002 04:33:19 +0000 (04:33 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sat, 21 Sep 2002 04:33:19 +0000 (04:33 +0000)
servers/slapd/value.c

index c53da1e9eba7f9a924d95b101d4bbadfe482cd92..b1288d07369ce3e7b24aaf0afc99196d40379cd0 100644 (file)
@@ -350,7 +350,7 @@ int value_find_ex(
        }
 
        if( mr->smr_syntax->ssyn_normalize ) {
-               struct berval nval_tmp;
+               struct berval nval_tmp = { 0, NULL };
 
                rc = mr->smr_syntax->ssyn_normalize(
                        mr->smr_syntax,