]> git.sur5r.net Git - openldap/commitdiff
ITS#6036 zero out freed val
authorHoward Chu <hyc@openldap.org>
Thu, 26 Mar 2009 16:58:44 +0000 (16:58 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 26 Mar 2009 16:58:44 +0000 (16:58 +0000)
servers/slapd/schema_init.c

index 24c9933eb520b89233c1401a51538dd694a6a453..85c62249df2d1b343c86de464ee3ec6174470023 100644 (file)
@@ -2814,6 +2814,7 @@ UUIDNormalize(
 
                } else {
                        slap_sl_free( normalized->bv_val, ctx );
+                       BER_BVZERO( normalized );
                        return LDAP_INVALID_SYNTAX;
                }