Task #66639 - added.err

back to task #66639
download
Error: GCC_ANALYZER_WARNING (CWE-401):
crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'libcrun_container_exec_with_options'
crun-HEAD/src/libcrun/utils.h:228:6: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(*_80->process.selinux_label)'
crun-HEAD/src/libcrun/container.c: scope_hint: In function 'libcrun_container_exec_with_options'
crun-HEAD/src/libcrun/container.c: scope_hint: In function 'libcrun_container_exec_with_options'
#  226|   
#  227|     ret = strdup (str);
#  228|->   if (ret == NULL)
#  229|       OOM ();
#  230|   

Error: GCC_ANALYZER_WARNING (CWE-401):
crun-HEAD/src/libcrun/utils.h:228:6: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(*_85->process.apparmor_profile)'
crun-HEAD/src/libcrun/container.c: scope_hint: In function 'libcrun_container_exec_with_options'
crun-HEAD/src/libcrun/container.c: scope_hint: In function 'libcrun_container_exec_with_options'
#  226|   
#  227|     ret = strdup (str);
#  228|->   if (ret == NULL)
#  229|       OOM ();
#  230|