Error: SHELLCHECK_WARNING (CWE-758): [#def1] /etc/profile.d/gnupg2.sh:1:1: error[SC2148]: Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive. # 1|-> export GPG_TTY=$(tty) Error: SHELLCHECK_WARNING (CWE-571): [#def2] /etc/profile.d/gnupg2.sh:1:8: warning[SC2155]: Declare and assign separately to avoid masking return values. # 1|-> export GPG_TTY=$(tty) Error: GCC_ANALYZER_WARNING (CWE-476): [#def3] gnupg-2.4.5/g10/export.c: scope_hint: In function ‘print_dane_records’ gnupg-2.4.5/g10/export.c:1754:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘domain’ gnupg-2.4.5/g10/main.h:25: included_from: Included from here. gnupg-2.4.5/g10/options.h:27: included_from: Included from here. gnupg-2.4.5/g10/export.c:30: included_from: Included from here. gnupg-2.4.5/g10/export.c:2273:14: note: in expansion of macro ‘xcalloc’ # 1752| # 1753| domain = strchr (mbox, '@'); # 1754|-> *domain++ = 0; # 1755| # 1756| if (1) Error: COMPILER_WARNING (CWE-704): [#def4] gnupg-2.4.5/tools/gpg-card.c: scope_hint: In function ‘main’ gnupg-2.4.5/tools/gpg-card.c:318:21: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type # 316| /* Set defaults for non given options. */ # 317| if (!opt.gpg_program) # 318|-> opt.gpg_program = gnupg_module_name (GNUPG_MODULE_NAME_GPG); # 319| if (!opt.gpgsm_program) # 320| opt.gpgsm_program = gnupg_module_name (GNUPG_MODULE_NAME_GPGSM); Error: COMPILER_WARNING (CWE-704): [#def5] gnupg-2.4.5/tools/gpg-card.c:320:23: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type # 318| opt.gpg_program = gnupg_module_name (GNUPG_MODULE_NAME_GPG); # 319| if (!opt.gpgsm_program) # 320|-> opt.gpgsm_program = gnupg_module_name (GNUPG_MODULE_NAME_GPGSM); # 321| # 322| /* Now build the list of commands. We guess the size of the array
analyzer-version-clang | 18.1.3 |
analyzer-version-cppcheck | 2.13.0 |
analyzer-version-gcc | 14.0.1 |
analyzer-version-gcc-analyzer | 14.0.1 |
analyzer-version-shellcheck | 0.10.0 |
diffbase-analyzer-version-clang | 18.1.3 |
diffbase-analyzer-version-cppcheck | 2.13.0 |
diffbase-analyzer-version-gcc | 14.0.1 |
diffbase-analyzer-version-gcc-analyzer | 14.0.1 |
diffbase-analyzer-version-shellcheck | 0.10.0 |
diffbase-enabled-plugins | clang, cppcheck, gcc, shellcheck |
diffbase-exit-code | 0 |
diffbase-host | ip-172-16-1-27.us-west-2.compute.internal |
diffbase-mock-config | fedora-41-x86_64 |
diffbase-project-name | gnupg2-2.4.4-1.fc40 |
diffbase-store-results-to | /tmp/tmphwhoaljy/gnupg2-2.4.4-1.fc40.tar.xz |
diffbase-time-created | 2024-04-22 10:52:13 |
diffbase-time-finished | 2024-04-22 11:00:10 |
diffbase-tool | csmock |
diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmphwhoaljy/gnupg2-2.4.4-1.fc40.tar.xz' '--gcc-analyze' '/tmp/tmphwhoaljy/gnupg2-2.4.4-1.fc40.src.rpm' |
diffbase-tool-version | csmock-3.5.3-1.el9 |
enabled-plugins | clang, cppcheck, gcc, shellcheck |
exit-code | 0 |
host | ip-172-16-1-27.us-west-2.compute.internal |
mock-config | fedora-41-x86_64 |
project-name | gnupg2-2.4.5-1.fc41 |
store-results-to | /tmp/tmphzc17kfn/gnupg2-2.4.5-1.fc41.tar.xz |
time-created | 2024-04-22 11:00:28 |
time-finished | 2024-04-22 11:08:12 |
title | Newly introduced defects |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmphzc17kfn/gnupg2-2.4.5-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmphzc17kfn/gnupg2-2.4.5-1.fc41.src.rpm' |
tool-version | csmock-3.5.3-1.el9 |