Fixed defects

List of Defects

Error: GCC_ANALYZER_WARNING (CWE-1341): [#def1]
bubblewrap-0.8.0-build/bubblewrap-0.8.0/utils.c: scope_hint: In function ‘load_file_at’
bubblewrap-0.8.0-build/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-build/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.7
analyzer-version-cppcheck2.14.2
analyzer-version-gcc14.1.1
analyzer-version-gcc-analyzer14.1.1
analyzer-version-shellcheck0.10.0
diffbase-analyzer-version-clang18.1.7
diffbase-analyzer-version-cppcheck2.14.2
diffbase-analyzer-version-gcc14.1.1
diffbase-analyzer-version-gcc-analyzer14.1.1
diffbase-analyzer-version-shellcheck0.10.0
diffbase-enabled-pluginsclang, cppcheck, gcc, shellcheck
diffbase-exit-code0
diffbase-hostip-172-16-1-222.us-west-2.compute.internal
diffbase-mock-configfedora-41-x86_64
diffbase-project-namebubblewrap-0.9.0-1.fc41
diffbase-store-results-to/tmp/tmpxfzqf02r/bubblewrap-0.9.0-1.fc41.tar.xz
diffbase-time-created2024-07-03 12:07:14
diffbase-time-finished2024-07-03 12:08:15
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpxfzqf02r/bubblewrap-0.9.0-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpxfzqf02r/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-222.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namebubblewrap-0.8.0-3.fc40
store-results-to/tmp/tmppt_9itg8/bubblewrap-0.8.0-3.fc40.tar.xz
time-created2024-07-03 12:05:32
time-finished2024-07-03 12:06:56
titleFixed defects
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmppt_9itg8/bubblewrap-0.8.0-3.fc40.tar.xz' '--gcc-analyze' '/tmp/tmppt_9itg8/bubblewrap-0.8.0-3.fc40.src.rpm'
tool-versioncsmock-3.5.3-1.el9