Task #65049 - fixed.err
back to task #65049download
Error: GCC_ANALYZER_WARNING (CWE-401):
crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_linux.c:3434:29: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
# 3432| ret->enable_cmt_present = src->enable_cmt_present;
# 3433| ret->enable_mbm = src->enable_mbm;
# 3434|-> ret->enable_mbm_present = src->enable_mbm_present;
# 3435| return move_ptr (ret);
# 3436| }
Error: GCC_ANALYZER_WARNING (CWE-401):
crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'libcrun_container_update'
crun-HEAD/src/libcrun/utils.h:74:21: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc0(184)'
crun-HEAD/src/libcrun/utils.h:57:40: note: in definition of macro 'UNLIKELY'
crun-HEAD/src/libcrun/container.c:582:7: note: in expansion of macro 'crun_make_error'
crun-HEAD/src/libcrun/container.c:1696:12: note: in expansion of macro 'crun_make_error'
crun-HEAD/src/libcrun/utils.h:57:40: note: in definition of macro 'UNLIKELY'
# 72| {
# 73| void *res = calloc (1, size);
# 74|-> if (UNLIKELY (res == NULL))
# 75| OOM ();
# 76| return res;