mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-10-13 17:02:02 -05:00
ipa-kdb: fix free() of uninitialized var
This commit is contained in:
1 parent
6d97444620
commit
e727dc50cc
1 file changed
+1
@@ -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++) {
|
||||
|
||||
Reference in new issue
Block a user