Task #134999 - fixed.err
back to task #134999download
Error: GCC_ANALYZER_WARNING (CWE-1341):
crun-HEAD/src/libcrun/container.c:3891:23: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'pipefd1'
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'
crun-HEAD/src/libcrun/utils.h:57:40: note: in definition of macro 'UNLIKELY'
# 3889| }
# 3890|
# 3891|-> TEMP_FAILURE_RETRY (close (pipefd1));
# 3892| pipefd1 = -1;
# 3893|
Error: GCC_ANALYZER_WARNING (CWE-1341):
crun-HEAD/src/libcrun/utils.h:213:33: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'own_seccomp_receiver_fd'
crun-HEAD/src/libcrun/container.c: scope_hint: In function 'close_and_reset.part.0'
crun-HEAD/src/libcrun/container.c: scope_hint: In function 'close_and_reset.part.0'
crun-HEAD/src/libcrun/utils.h:57:40: note: in definition of macro 'UNLIKELY'
crun-HEAD/src/libcrun/utils.h: scope_hint: In function 'close_and_reset.part.0'
# 211| if (*fd >= 0)
# 212| {
# 213|-> ret = TEMP_FAILURE_RETRY (close (*fd));
# 214| if (LIKELY (ret == 0))
# 215| *fd = -1;