Skip to content

Commit

Permalink
IPA: Change sysdb_attrs_add_val to sysdb_attrs_add_val_safe in debug …
Browse files Browse the repository at this point in the history
…output

The pervious commit(dc508f0) modified the function `sysdb_attrs_add_val` to `sysdb_attrs_add_val_safe`, but did not modify the debug output information synchronously.
  • Loading branch information
bangcheng authored and wangcheng committed Aug 23, 2023
1 parent ae3bac9 commit 9b38d98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/ipa/ipa_s2n_exop.c
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ static errno_t get_extra_attrs(BerElement *ber, struct resp_attrs *resp_attrs)

ret = sysdb_attrs_add_val_safe(resp_attrs->sysdb_attrs, name, &v);
if (ret != EOK) {
DEBUG(SSSDBG_OP_FAILURE, "sysdb_attrs_add_val failed.\n");
DEBUG(SSSDBG_OP_FAILURE, "sysdb_attrs_add_val_safe failed.\n");
ldap_memfree(name);
ber_bvecfree(values);
return ret;
Expand Down

0 comments on commit 9b38d98

Please sign in to comment.