Error: CLANG_WARNING: [#def1] kf6-kwallet-6.3.0-build/kwallet-6.3.0/src/runtime/kwalletd/backend/cbc.cc:105:9: warning[core.uninitialized.UndefReturn]: Undefined or garbage value returned to caller # 103| } # 104| # 105|-> return rc; # 106| } # 107| return -1; Error: COMPILER_WARNING (CWE-457): [#def2] kf6-kwallet-6.3.0-build/kwallet-6.3.0/src/runtime/kwalletd/backend/cbc.cc: scope_hint: In member function ‘CipherBlockChain::encrypt(void*, int)’ kf6-kwallet-6.3.0-build/kwallet-6.3.0/src/runtime/kwalletd/backend/cbc.cc:105:16: warning[-Wmaybe-uninitialized]: ‘rc’ may be used uninitialized # 105 | return rc; # | ^~ kf6-kwallet-6.3.0-build/kwallet-6.3.0/src/runtime/kwalletd/backend/cbc.cc:77:13: note: ‘rc’ was declared here # 77 | int rc; # | ^~ # 103| } # 104| # 105|-> return rc; # 106| } # 107| return -1; Error: CLANG_WARNING: [#def3] kf6-kwallet-6.3.0-build/kwallet-6.3.0/src/runtime/kwalletd/main.cpp:88:13: warning[unix.Malloc]: Potential memory leak # 86| int chop = 0; # 87| FILE *s3 = fdopen(dup(s2), "r"); # 88|-> while (!feof(s3)) { # 89| if (fgets(str, BSIZE, s3)) { # 90| chop = strlen(str) - 1;
analyzer-version-clang | 18.1.7 |
analyzer-version-cppcheck | 2.14.2 |
analyzer-version-gcc | 14.1.1 |
analyzer-version-gcc-analyzer | 14.1.1 |
analyzer-version-shellcheck | 0.10.0 |
enabled-plugins | clang, cppcheck, gcc, shellcheck |
exit-code | 0 |
host | ip-172-16-1-254.us-west-2.compute.internal |
mock-config | fedora-41-x86_64 |
project-name | kf6-kwallet-6.3.0-1.fc41 |
store-results-to | /tmp/tmpm7i3qia3/kf6-kwallet-6.3.0-1.fc41.tar.xz |
time-created | 2024-07-03 14:13:51 |
time-finished | 2024-07-03 14:16:24 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpm7i3qia3/kf6-kwallet-6.3.0-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpm7i3qia3/kf6-kwallet-6.3.0-1.fc41.src.rpm' |
tool-version | csmock-3.5.3-1.el9 |