Newly introduced findings

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-775): [#def1]
crun-1.17-build/crun-HEAD/src/libcrun/cgroup-resources.c:1150:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open(path_to_devs, 589824)'
# 1148|           return ret;
# 1149|   
# 1150|->       dirfd_devs = open (path_to_devs, O_DIRECTORY | O_RDONLY | O_CLOEXEC);
# 1151|         if (UNLIKELY (dirfd_devs < 0))
# 1152|           return crun_make_error (err, errno, "open `%s`", path_to_devs);

Scan Properties

analyzer-version-clippy1.81.0
analyzer-version-cppcheck2.15.0
analyzer-version-gcc14.2.1
analyzer-version-gcc-analyzer14.2.1
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.81.0
diffbase-analyzer-version-cppcheck2.15.0
diffbase-analyzer-version-gcc14.2.1
diffbase-analyzer-version-gcc-analyzer14.2.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-150.us-west-2.compute.internal
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-namecrun-1.17-1.20241014095439306722.main.20.g53cd1c1
diffbase-store-results-to/tmp/tmpqp2ubr41/crun-1.17-1.20241014095439306722.main.20.g53cd1c1.tar.xz
diffbase-time-created2024-10-15 14:41:18
diffbase-time-finished2024-10-15 14:47:12
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,cppcheck,shellcheck,unicontrol' '-o' '/tmp/tmpqp2ubr41/crun-1.17-1.20241014095439306722.main.20.g53cd1c1.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '/tmp/tmpqp2ubr41/crun-1.17-1.20241014095439306722.main.20.g53cd1c1.src.rpm'
diffbase-tool-versioncsmock-3.7.1-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-150.us-west-2.compute.internal
mock-configfedora-rawhide-x86_64
project-namecrun-1.17-1.20241015142706078239.pr1574.33.g1d231a2
store-results-to/tmp/tmpcer5dokl/crun-1.17-1.20241015142706078239.pr1574.33.g1d231a2.tar.xz
time-created2024-10-15 14:47:28
time-finished2024-10-15 14:52:52
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,cppcheck,shellcheck,unicontrol' '-o' '/tmp/tmpcer5dokl/crun-1.17-1.20241015142706078239.pr1574.33.g1d231a2.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '/tmp/tmpcer5dokl/crun-1.17-1.20241015142706078239.pr1574.33.g1d231a2.src.rpm'
tool-versioncsmock-3.7.1-1.el9