Task #66639 - fixed.err
back to task #66639download
Error: GCC_ANALYZER_WARNING (CWE-1341): crun-HEAD/src/libcrun/utils.h:108:25: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'pipefd0' crun-HEAD/src/libcrun/container.c: scope_hint: In function 'cleanup_closep.part.0' crun-HEAD/src/libcrun/container.c: scope_hint: In function 'cleanup_closep.part.0' crun-HEAD/src/libcrun/container.c: scope_hint: In function 'cleanup_closep.part.0' crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'cleanup_closep.part.0' # 106| int *pp = (int *) p; # 107| if (*pp >= 0) # 108|-> TEMP_FAILURE_RETRY (close (*pp)); # 109| } # 110| Error: GCC_ANALYZER_WARNING (CWE-1341): crun-HEAD/src/libcrun/utils.h:108:25: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'pipefd1' crun-HEAD/src/libcrun/container.c: scope_hint: In function 'cleanup_closep.part.0' crun-HEAD/src/libcrun/container.c: scope_hint: In function 'cleanup_closep.part.0' crun-HEAD/src/libcrun/container.c: scope_hint: In function 'cleanup_closep.part.0' crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'cleanup_closep.part.0' # 106| int *pp = (int *) p; # 107| if (*pp >= 0) # 108|-> TEMP_FAILURE_RETRY (close (*pp)); # 109| } # 110| Error: GCC_ANALYZER_WARNING (CWE-1341): crun-HEAD/src/libcrun/utils.h:108:25: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'seccomp_fd' crun-HEAD/src/libcrun/container.c: scope_hint: In function 'cleanup_closep.part.0' crun-HEAD/src/libcrun/container.c: scope_hint: In function 'cleanup_closep.part.0' crun-HEAD/src/libcrun/container.c: scope_hint: In function 'cleanup_closep.part.0' crun-HEAD/src/libcrun/container.c: scope_hint: In function 'cleanup_closep.part.0' crun-HEAD/src/libcrun/container.c: scope_hint: In function 'cleanup_closep.part.0' crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'cleanup_closep.part.0' # 106| int *pp = (int *) p; # 107| if (*pp >= 0) # 108|-> TEMP_FAILURE_RETRY (close (*pp)); # 109| } # 110| 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(*_74->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(*_79->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|