Task #99405 - added.err

back to task #99405
download
Error: COMPILER_WARNING (CWE-704):
sssd-2.13.0/src/util/util.h:45: included_from: Included from here.
sssd-2.13.0/src/providers/ldap/sdap_async_initgroups.c:24: included_from: Included from here.
sssd-2.13.0/src/providers/ldap/sdap_async_initgroups.c: scope_hint: In function 'sdap_add_incomplete_groups'
sssd-2.13.0/src/providers/ldap/sdap_async_initgroups.c:119:25: warning[-Wdiscarded-qualifiers]: passing argument 1 of '_talloc_free' discards 'const' qualifier from pointer target type
/usr/include/talloc.h:250:33: note: expected 'void *' but argument is of type 'const char *'
#  117|           /* The group is not in sysdb, need to add a fake entry */
#  118|           for (ai=0; ai < ldap_groups_count; ai++) {
#  119|->             talloc_free(groupname);
#  120|               ret = sdap_get_group_primary_name(tmp_ctx, opts, ldap_groups[ai],
#  121|                                                 domain, &groupname);