Task #109254 - fixed.err

back to task #109254
download
Error: GCC_ANALYZER_WARNING (CWE-476):
sssd-2.13.0/src/providers/ad/ad_subdomains.c: scope_hint: In function 'ad_get_slave_domain_send'
sssd-2.13.0/src/providers/ad/ad_subdomains.c:1135:30: warning[-Wanalyzer-null-dereference]: dereference of NULL 'root_id_ctx'
sssd-2.13.0/src/util/util.h:58: included_from: Included from here.
sssd-2.13.0/src/providers/data_provider.h:40: included_from: Included from here.
sssd-2.13.0/src/providers/backend.h:25: included_from: Included from here.
sssd-2.13.0/src/providers/ldap/sdap_async.h:29: included_from: Included from here.
sssd-2.13.0/src/providers/ad/ad_subdomains.c:25: included_from: Included from here.
sssd-2.13.0/src/providers/ad/ad_subdomains.c:2277:9: note: in expansion of macro 'DEBUG'
# 1133|       state->sd_ctx = sd_ctx;
# 1134|       state->be_ctx = sd_ctx->be_ctx;
# 1135|->     state->opts = root_id_ctx->sdap_id_ctx->opts;
# 1136|       state->idmap_ctx = root_id_ctx->sdap_id_ctx->opts->idmap_ctx;
# 1137|       state->root_attrs = root_attrs;