Fixed findings

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-1341): [#def1]
crun-1.20-build/crun-HEAD/src/libcrun/container.c:3754:23: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'pipefd1'
crun-1.20-build/crun-HEAD/src/libcrun/container.c: scope_hint: In function 'libcrun_container_exec_with_options'
crun-1.20-build/crun-HEAD/src/libcrun/container.c: scope_hint: In function 'libcrun_container_exec_with_options'
crun-1.20-build/crun-HEAD/src/libcrun/utils.h:57:40: note: in definition of macro 'UNLIKELY'
# 3752|       }
# 3753|   
# 3754|->   TEMP_FAILURE_RETRY (close (pipefd1));
# 3755|     pipefd1 = -1;
# 3756|   

Scan Properties

analyzer-version-clippy1.84.1
analyzer-version-cppcheck2.16.2
analyzer-version-gcc15.0.1
analyzer-version-gcc-analyzer15.0.1
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.84.1
diffbase-analyzer-version-cppcheck2.16.2
diffbase-analyzer-version-gcc15.0.1
diffbase-analyzer-version-gcc-analyzer15.0.1
diffbase-analyzer-version-shellcheck0.10.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-81.us-west-2.compute.internal
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-namecrun-1.20-1.20250214105619717824.pr1672.24.g39abc017
diffbase-store-results-to/tmp/tmp77w0n7hz/crun-1.20-1.20250214105619717824.pr1672.24.g39abc017.tar.xz
diffbase-time-created2025-02-14 11:09:15
diffbase-time-finished2025-02-14 11:16:58
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,clippy,shellcheck,gcc,unicontrol' '-o' '/tmp/tmp77w0n7hz/crun-1.20-1.20250214105619717824.pr1672.24.g39abc017.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '/tmp/tmp77w0n7hz/crun-1.20-1.20250214105619717824.pr1672.24.g39abc017.src.rpm'
diffbase-tool-versioncsmock-3.8.0-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-81.us-west-2.compute.internal
mock-configfedora-rawhide-x86_64
project-namecrun-1.20-1.20250214091341997318.main.19.g439b1e0d
store-results-to/tmp/tmpxqkwjmma/crun-1.20-1.20250214091341997318.main.19.g439b1e0d.tar.xz
time-created2025-02-14 11:00:26
time-finished2025-02-14 11:08:41
titleFixed findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,clippy,shellcheck,gcc,unicontrol' '-o' '/tmp/tmpxqkwjmma/crun-1.20-1.20250214091341997318.main.19.g439b1e0d.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '/tmp/tmpxqkwjmma/crun-1.20-1.20250214091341997318.main.19.g439b1e0d.src.rpm'
tool-versioncsmock-3.8.0-1.el9