Task #75063 - fixed.err

back to task #75063
download
Error: GCC_ANALYZER_WARNING (CWE-476):
openscap-1.4.3/src/OVAL/probes/unix/xinetd_probe.c: scope_hint: In function ‘xiconf_dump’
openscap-1.4.3/src/OVAL/probes/unix/xinetd_probe.c:1254:18: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘res’
# 1252|   
# 1253|   	xiconf_strans_t *res = malloc(sizeof(xiconf_strans_t));
# 1254|-> 	res->cnt = rbt_str_size(xiconf->stree);
# 1255|   	res->srv = malloc(sizeof(xiconf_service_t *) * res->cnt);
# 1256|