Error: COMPILER_WARNING (CWE-477): [#def1] /usr/include/KF6/KI18n/KLocalizedString:1: included_from: Included from here. kwallet-6.13.0/src/runtime/kwalletd/backend/backendpersisthandler.cpp:11: included_from: Included from here. kwallet-6.13.0/src/runtime/kwalletd/backend/backendpersisthandler.cpp: scope_hint: In member function ‘virtual int KWallet::GpgPersistHandler::write(KWallet::Backend*, QSaveFile&, QByteArray&, WId)’ kwallet-6.13.0/src/runtime/kwalletd/backend/backendpersisthandler.cpp:560:56: warning[-Wdeprecated-declarations]: ‘const char* GpgME::Error::asString() const’ is deprecated # 560 | res.error().asString())); # | ~~~~~~~~~~~~~~~~~~~~^~ /usr/include/gpgme++/context.h:29: included_from: Included from here. kwallet-6.13.0/src/runtime/kwalletd/backend/backendpersisthandler.cpp:19: included_from: Included from here. /usr/include/gpgme++/error.h:53:36: note: declared here # 53 | GPGMEPP_DEPRECATED const char *asString() const; # | ^~~~~~~~ # 558| wb->_name.toHtmlEscaped(), # 559| gpgerr, # 560|-> res.error().asString())); # 561| qCDebug(KWALLETBACKEND_LOG) << "GpgME encryption error: " << gpgerr; # 562| sf.cancelWriting(); Error: COMPILER_WARNING (CWE-477): [#def2] kwallet-6.13.0/src/runtime/kwalletd/backend/backendpersisthandler.cpp: scope_hint: In member function ‘virtual int KWallet::GpgPersistHandler::read(KWallet::Backend*, QFile&, WId)’ kwallet-6.13.0/src/runtime/kwalletd/backend/backendpersisthandler.cpp:627:92: warning[-Wdeprecated-declarations]: ‘const char* GpgME::Error::asString() const’ is deprecated # 627 | qCDebug(KWALLETBACKEND_LOG) << "Error decrypting message: " << res.error().asString() << ", code " << res.error().code() << ", source " # | ~~~~~~~~~~~~~~~~~~~~^~ /usr/include/gpgme++/error.h:53:36: note: declared here # 53 | GPGMEPP_DEPRECATED const char *asString() const; # | ^~~~~~~~ # 625| GpgME::DecryptionResult res = ctx->decrypt(encryptedData, decryptedData); # 626| if (res.error()) { # 627|-> qCDebug(KWALLETBACKEND_LOG) << "Error decrypting message: " << res.error().asString() << ", code " << res.error().code() << ", source " # 628| << res.error().source(); # 629| KGuiItem btnRetry(i18n("Retry")); Error: COMPILER_WARNING (CWE-477): [#def3] kwallet-6.13.0/src/runtime/kwalletd/backend/backendpersisthandler.cpp:637:72: warning[-Wdeprecated-declarations]: ‘const char* GpgME::Error::asString() const’ is deprecated # 637 | res.error().asString()), # | ~~~~~~~~~~~~~~~~~~~~^~ /usr/include/gpgme++/error.h:53:36: note: declared here # 53 | GPGMEPP_DEPRECATED const char *asString() const; # | ^~~~~~~~ # 635| "please ensure it's inserted then try again.<br><br>GPG error was <b>%2</b></qt>", # 636| wb->_name.toHtmlEscaped(), # 637|-> res.error().asString()), # 638| i18n("kwalletd GPG backend"), # 639| btnRetry, Error: COMPILER_WARNING (CWE-457): [#def4] kwallet-6.13.0/src/runtime/kwalletd/backend/cbc.cc: scope_hint: In member function ‘CipherBlockChain::encrypt(void*, int)’ kwallet-6.13.0/src/runtime/kwalletd/backend/cbc.cc:105:16: warning[-Wmaybe-uninitialized]: ‘rc’ may be used uninitialized # 105 | return rc; # | ^~ kwallet-6.13.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;
analyzer-version-clippy | 1.86.0 |
analyzer-version-cppcheck | 2.17.1 |
analyzer-version-gcc | 15.0.1 |
analyzer-version-gcc-analyzer | 15.0.1 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-43.us-west-2.compute.internal |
known-false-positives | /usr/share/csmock/known-false-positives.js |
known-false-positives-rpm | known-false-positives-0.0.0.20250425.124705.g1c7c448.main-1.el9.noarch |
mock-config | fedora-rawhide-x86_64 |
project-name | kf6-kwallet-6.13.0-1.fc43 |
store-results-to | /tmp/tmp2cy8lbqs/kf6-kwallet-6.13.0-1.fc43.tar.xz |
time-created | 2025-04-25 13:40:01 |
time-finished | 2025-04-25 13:42:18 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmp2cy8lbqs/kf6-kwallet-6.13.0-1.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp2cy8lbqs/kf6-kwallet-6.13.0-1.fc43.src.rpm' |
tool-version | csmock-3.8.1.20250422.172604.g26bc3d6-1.el9 |