fish-3.7.1+2217.gbd5f9babd-1.1

List of Findings

Error: COMPILER_WARNING (CWE-686): [#def1]
fish-3.7.1+2217.gbd5f9babd-build/fish-3.7.1-2217-gbd5f9babd/redhat-linux-build/cargo/build/x86_64-unknown-linux-gnu/debug/build/fish-3edb24e6f8d7cd44/out/.rsconf-1969176465/gettext-test-0.c:3:12: warning[-Wbuiltin-declaration-mismatch]: built-in function ‘gettext’ declared as non-function

Error: COMPILER_WARNING (CWE-686): [#def2]
fish-3.7.1+2217.gbd5f9babd-build/fish-3.7.1-2217-gbd5f9babd/redhat-linux-build/cargo/build/x86_64-unknown-linux-gnu/debug/build/fish-9b3da22c1a5405a9/out/.rsconf-45094639/gettext-test-0.c:3:12: warning[-Wbuiltin-declaration-mismatch]: built-in function ‘gettext’ declared as non-function
#    3 | extern int gettext;
#      |            ^~~~~~~

Error: COMPILER_WARNING (CWE-252): [#def3]
fish-3.7.1+2217.gbd5f9babd-build/fish-3.7.1-2217-gbd5f9babd/src/fish_test_helper.c: scope_hint: In function ‘sigtstp_handler’
fish-3.7.1+2217.gbd5f9babd-build/fish-3.7.1-2217-gbd5f9babd/src/fish_test_helper.c:165:5: warning[-Wunused-result]: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’
#  165 |     write(STDOUT_FILENO, "SIGTSTP\n", strlen("SIGTSTP\n"));
#      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  163|   
#  164|   static void sigtstp_handler(int x) {
#  165|->     write(STDOUT_FILENO, "SIGTSTP\n", strlen("SIGTSTP\n"));
#  166|       kill(getpid(), SIGSTOP);
#  167|   }

Error: COMPILER_WARNING (CWE-252): [#def4]
fish-3.7.1+2217.gbd5f9babd-build/fish-3.7.1-2217-gbd5f9babd/src/fish_test_helper.c: scope_hint: In function ‘sigcont_handler’
fish-3.7.1+2217.gbd5f9babd-build/fish-3.7.1-2217-gbd5f9babd/src/fish_test_helper.c:169:5: warning[-Wunused-result]: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’
#  169 |     write(STDOUT_FILENO, "SIGCONT\n", strlen("SIGCONT\n"));
#      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  167|   }
#  168|   static void sigcont_handler(int x) {
#  169|->     write(STDOUT_FILENO, "SIGCONT\n", strlen("SIGCONT\n"));
#  170|   }
#  171|   static void print_stop_cont() {

Scan Properties

analyzer-version-clippy1.80.0
analyzer-version-cppcheck2.14.2
analyzer-version-gcc14.1.1
analyzer-version-gcc-analyzer14.1.1
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-110.us-west-2.compute.internal
mock-configfedora-rawhide-x86_64
project-namefish-3.7.1+2217.gbd5f9babd-1.1
store-results-to/tmp/tmp6se9bhra/fish-3.7.1+2217.gbd5f9babd-1.1.tar.xz
time-created2024-08-09 10:26:13
time-finished2024-08-09 10:30:24
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'shellcheck,clippy,cppcheck,gcc,unicontrol' '-o' '/tmp/tmp6se9bhra/fish-3.7.1+2217.gbd5f9babd-1.1.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '/tmp/tmp6se9bhra/fish-3.7.1+2217.gbd5f9babd-1.1.src.rpm'
tool-versioncsmock-3.6.1-1.el9