mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
ipa-kdb: fix free() of uninitialized var
This commit is contained in:
@@ -91,6 +91,7 @@ static int ipadb_ldap_attr_to_tl_data(LDAP *lcontext, LDAPMessage *le,
|
|||||||
|
|
||||||
*result = NULL;
|
*result = NULL;
|
||||||
prev = NULL;
|
prev = NULL;
|
||||||
|
next = NULL;
|
||||||
vals = ldap_get_values_len(lcontext, le, attrname);
|
vals = ldap_get_values_len(lcontext, le, attrname);
|
||||||
if (vals) {
|
if (vals) {
|
||||||
for (i = 0; vals[i]; i++) {
|
for (i = 0; vals[i]; i++) {
|
||||||
|
|||||||
Reference in New Issue
Block a user