I pushed the attached patch under the oneliner rule
-- 
Simo Sorce * Red Hat, Inc * New York
--- Begin Message ---
 daemons/ipa-kdb/ipa_kdb_principals.c |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit e727dc50ccdc9c62e5c4a374f03d0b9fa2d6b19c
Author: Simo Sorce <[email protected]>
Date:   Sun Nov 20 20:49:51 2011 -0500

    ipa-kdb: fix free() of uninitialized var

diff --git a/daemons/ipa-kdb/ipa_kdb_principals.c 
b/daemons/ipa-kdb/ipa_kdb_principals.c
index f5bef84..431fd27 100644
--- a/daemons/ipa-kdb/ipa_kdb_principals.c
+++ b/daemons/ipa-kdb/ipa_kdb_principals.c
@@ -91,6 +91,7 @@ static int ipadb_ldap_attr_to_tl_data(LDAP *lcontext, 
LDAPMessage *le,
 
     *result = NULL;
     prev = NULL;
+    next = NULL;
     vals = ldap_get_values_len(lcontext, le, attrname);
     if (vals) {
         for (i = 0; vals[i]; i++) {



--- End Message ---
_______________________________________________
Freeipa-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to