Error: GCC_ANALYZER_WARNING (CWE-1341): [#def1] crun-1.21-build/crun-HEAD/src/libcrun/utils.h:108:25: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'pipefd0' crun-1.21-build/crun-HEAD/src/libcrun/container.c: scope_hint: In function 'cleanup_closep.part.0' crun-1.21-build/crun-HEAD/src/libcrun/container.c: scope_hint: In function 'cleanup_closep.part.0' crun-1.21-build/crun-HEAD/src/libcrun/container.c: scope_hint: In function 'cleanup_closep.part.0' crun-1.21-build/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): [#def2] crun-1.21-build/crun-HEAD/src/libcrun/utils.h:108:25: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'pipefd1' crun-1.21-build/crun-HEAD/src/libcrun/container.c: scope_hint: In function 'cleanup_closep.part.0' crun-1.21-build/crun-HEAD/src/libcrun/container.c: scope_hint: In function 'cleanup_closep.part.0' crun-1.21-build/crun-HEAD/src/libcrun/container.c: scope_hint: In function 'cleanup_closep.part.0' crun-1.21-build/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): [#def3] crun-1.21-build/crun-HEAD/src/libcrun/utils.h:108:25: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'seccomp_fd' crun-1.21-build/crun-HEAD/src/libcrun/container.c: scope_hint: In function 'cleanup_closep.part.0' crun-1.21-build/crun-HEAD/src/libcrun/container.c: scope_hint: In function 'cleanup_closep.part.0' crun-1.21-build/crun-HEAD/src/libcrun/container.c: scope_hint: In function 'cleanup_closep.part.0' crun-1.21-build/crun-HEAD/src/libcrun/container.c: scope_hint: In function 'cleanup_closep.part.0' crun-1.21-build/crun-HEAD/src/libcrun/container.c: scope_hint: In function 'cleanup_closep.part.0' crun-1.21-build/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): [#def4] crun-1.21-build/crun-HEAD/src/libcrun/utils.h:108:25: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'signalfd' crun-1.21-build/crun-HEAD/src/libcrun/container.c: scope_hint: In function 'cleanup_closep.part.0' crun-1.21-build/crun-HEAD/src/libcrun/container.c: scope_hint: In function 'cleanup_closep.part.0' crun-1.21-build/crun-HEAD/src/libcrun/utils.h:57:40: note: in definition of macro 'UNLIKELY' crun-1.21-build/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|
analyzer-version-clippy | 1.85.1 |
analyzer-version-cppcheck | 2.17.1 |
analyzer-version-gcc | 15.0.1 |
analyzer-version-gcc-analyzer | 15.0.1 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
diffbase-analyzer-version-clippy | 1.85.1 |
diffbase-analyzer-version-cppcheck | 2.17.1 |
diffbase-analyzer-version-gcc | 15.0.1 |
diffbase-analyzer-version-gcc-analyzer | 15.0.1 |
diffbase-analyzer-version-shellcheck | 0.10.0 |
diffbase-analyzer-version-unicontrol | 0.0.2 |
diffbase-enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
diffbase-exit-code | 0 |
diffbase-host | ip-172-16-1-147.us-west-2.compute.internal |
diffbase-mock-config | fedora-rawhide-x86_64 |
diffbase-project-name | crun-1.21-1.20250328143641301349.main.9.gdb8977e9 |
diffbase-store-results-to | /tmp/tmpd9e6jsns/crun-1.21-1.20250328143641301349.main.9.gdb8977e9.tar.xz |
diffbase-time-created | 2025-03-29 05:19:26 |
diffbase-time-finished | 2025-03-29 05:24:26 |
diffbase-tool | csmock |
diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,shellcheck,unicontrol,clippy,gcc' '-o' '/tmp/tmpd9e6jsns/crun-1.21-1.20250328143641301349.main.9.gdb8977e9.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpd9e6jsns/crun-1.21-1.20250328143641301349.main.9.gdb8977e9.src.rpm' |
diffbase-tool-version | csmock-3.8.0-1.el9 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-147.us-west-2.compute.internal |
mock-config | fedora-rawhide-x86_64 |
project-name | crun-1.21-1.20250329051120830475.pr1709.11.ge6ac3ead |
store-results-to | /tmp/tmp52exp8i4/crun-1.21-1.20250329051120830475.pr1709.11.ge6ac3ead.tar.xz |
time-created | 2025-03-29 05:24:54 |
time-finished | 2025-03-29 05:29:28 |
title | Newly introduced findings |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,shellcheck,unicontrol,clippy,gcc' '-o' '/tmp/tmp52exp8i4/crun-1.21-1.20250329051120830475.pr1709.11.ge6ac3ead.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmp52exp8i4/crun-1.21-1.20250329051120830475.pr1709.11.ge6ac3ead.src.rpm' |
tool-version | csmock-3.8.0-1.el9 |