Fixed defects

List of Defects

Error: GCC_ANALYZER_WARNING (CWE-1341): [#def1]
bubblewrap-0.8.0/utils.c: scope_hint: In function ‘load_file_at’
bubblewrap-0.8.0/utils.c:626:3: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘openat(dirfd,  path, 524288)’
bubblewrap-0.8.0/utils.c: scope_hint: In function ‘load_file_at’
#  624|   
#  625|     errsv = errno;
#  626|->   close (fd);
#  627|     errno = errsv;
#  628|   

Scan Properties

analyzer-version-clang18.1.3
analyzer-version-cppcheck2.13.0
analyzer-version-gcc14.0.1
analyzer-version-gcc-analyzer14.0.1
analyzer-version-shellcheck0.10.0
diffbase-analyzer-version-clang18.1.3
diffbase-analyzer-version-cppcheck2.13.0
diffbase-analyzer-version-gcc14.0.1
diffbase-analyzer-version-gcc-analyzer14.0.1
diffbase-analyzer-version-shellcheck0.10.0
diffbase-enabled-pluginsclang, cppcheck, gcc, shellcheck
diffbase-exit-code0
diffbase-hostip-172-16-1-118.us-west-2.compute.internal
diffbase-mock-configfedora-41-x86_64
diffbase-project-namebubblewrap-0.9.0-1.fc41
diffbase-store-results-to/tmp/tmpfi8ylgkv/bubblewrap-0.9.0-1.fc41.tar.xz
diffbase-time-created2024-04-22 10:43:01
diffbase-time-finished2024-04-22 10:44:04
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpfi8ylgkv/bubblewrap-0.9.0-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpfi8ylgkv/bubblewrap-0.9.0-1.fc41.src.rpm'
diffbase-tool-versioncsmock-3.5.3-1.el9
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-118.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namebubblewrap-0.8.0-3.fc40
store-results-to/tmp/tmpes_951id/bubblewrap-0.8.0-3.fc40.tar.xz
time-created2024-04-22 10:41:17
time-finished2024-04-22 10:42:53
titleFixed defects
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpes_951id/bubblewrap-0.8.0-3.fc40.tar.xz' '--gcc-analyze' '/tmp/tmpes_951id/bubblewrap-0.8.0-3.fc40.src.rpm'
tool-versioncsmock-3.5.3-1.el9