Newly introduced findings

List of Findings

Error: SHELLCHECK_WARNING (CWE-252): [#def1]
/usr/bin/find-debuginfo:687:4: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
#  685|     # directory (which is why we match against ^ or /).
#  686|     LC_ALL=C sort -z -u "$SOURCEFILE" | grep -E -v -z '(^|/)<[a-z _-]+>$' |
#  687|->   (cd "${debug_base_name}"; cpio -pd0mL --quiet "${RPM_BUILD_ROOT}${debug_dest_name}")
#  688|     # stupid cpio creates new directories in mode 0700,
#  689|     # and non-standard modes may be inherented from original directories, fixup

Error: GCC_ANALYZER_WARNING (CWE-401): [#def2]
debugedit-5.1-build/debugedit-5.1/tools/debugedit.c: scope_hint: In function ‘main’
debugedit-5.1-build/debugedit-5.1/tools/debugedit.c:3384:16: warning[-Wanalyzer-malloc-leak]: leak of ‘fdopen_dso(fd,  file)’
# 3382|     size_t phnum;
# 3383|   
# 3384|->   if (dest_dir == NULL && (!do_build_id || no_recompute_build_id))
# 3385|       elf = elf_begin (fd, ELF_C_READ, NULL);
# 3386|     else

Scan Properties

analyzer-version-clippy1.82.0
analyzer-version-cppcheck2.16.0
analyzer-version-gcc14.2.1
analyzer-version-gcc-analyzer15.0.0
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.82.0
diffbase-analyzer-version-cppcheck2.16.0
diffbase-analyzer-version-gcc14.2.1
diffbase-analyzer-version-gcc-analyzer15.0.0
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-45.us-west-2.compute.internal
diffbase-mock-configfedora-rawhide-gcc-latest-x86_64
diffbase-project-namedebugedit-5.0-17.fc41
diffbase-store-results-to/tmp/tmppvfilh9f/debugedit-5.0-17.fc41.tar.xz
diffbase-time-created2024-11-12 23:27:58
diffbase-time-finished2024-11-12 23:29:49
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmppvfilh9f/debugedit-5.0-17.fc41.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmppvfilh9f/debugedit-5.0-17.fc41.src.rpm'
diffbase-tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-45.us-west-2.compute.internal
mock-configfedora-rawhide-gcc-latest-x86_64
project-namedebugedit-5.1-1.fc42
store-results-to/tmp/tmp0yzqtzpv/debugedit-5.1-1.fc42.tar.xz
time-created2024-11-12 23:30:01
time-finished2024-11-12 23:31:28
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmp0yzqtzpv/debugedit-5.1-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmp0yzqtzpv/debugedit-5.1-1.fc42.src.rpm'
tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9