Task #46727 - fixed.err

back to task #46727
download
Error: GCC_ANALYZER_WARNING (CWE-1341):
crun-1.21-build/crun-HEAD/src/libcrun/utils.h:210:33: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'own_seccomp_receiver_fd'
crun-1.21-build/crun-HEAD/src/libcrun/container.c: scope_hint: In function 'close_and_reset'
crun-1.21-build/crun-HEAD/src/libcrun/container.c: scope_hint: In function 'close_and_reset'
crun-1.21-build/crun-HEAD/src/libcrun/utils.h:57:40: note: in definition of macro 'UNLIKELY'
#  208|     if (*fd >= 0)
#  209|       {
#  210|->       ret = TEMP_FAILURE_RETRY (close (*fd));
#  211|         if (LIKELY (ret == 0))
#  212|           *fd = -1;