kf6-kwallet-6.8.0-1.fc42

List of Findings

Error: COMPILER_WARNING (CWE-477): [#def1]
/usr/include/KF6/KI18n/KLocalizedString:1: included_from: Included from here.
kf6-kwallet-6.8.0-build/kwallet-6.8.0/src/runtime/kwalletd/backend/backendpersisthandler.cpp:11: included_from: Included from here.
kf6-kwallet-6.8.0-build/kwallet-6.8.0/src/runtime/kwalletd/backend/backendpersisthandler.cpp: scope_hint: In member function ‘virtual int KWallet::GpgPersistHandler::write(KWallet::Backend*, QSaveFile&, QByteArray&, WId)’
kf6-kwallet-6.8.0-build/kwallet-6.8.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.
kf6-kwallet-6.8.0-build/kwallet-6.8.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]
kf6-kwallet-6.8.0-build/kwallet-6.8.0/src/runtime/kwalletd/backend/backendpersisthandler.cpp: scope_hint: In member function ‘virtual int KWallet::GpgPersistHandler::read(KWallet::Backend*, QFile&, WId)’
kf6-kwallet-6.8.0-build/kwallet-6.8.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]
kf6-kwallet-6.8.0-build/kwallet-6.8.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]
kf6-kwallet-6.8.0-build/kwallet-6.8.0/src/runtime/kwalletd/backend/cbc.cc: scope_hint: In member function ‘CipherBlockChain::encrypt(void*, int)’
kf6-kwallet-6.8.0-build/kwallet-6.8.0/src/runtime/kwalletd/backend/cbc.cc:105:16: warning[-Wmaybe-uninitialized]: ‘rc’ may be used uninitialized
#  105 |         return rc;
#      |                ^~
kf6-kwallet-6.8.0-build/kwallet-6.8.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;

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
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-5.us-west-2.compute.internal
mock-configfedora-rawhide-gcc-latest-x86_64
project-namekf6-kwallet-6.8.0-1.fc42
store-results-to/tmp/tmpsafxwpew/kf6-kwallet-6.8.0-1.fc42.tar.xz
time-created2024-11-13 01:01:54
time-finished2024-11-13 01:04:13
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpsafxwpew/kf6-kwallet-6.8.0-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpsafxwpew/kf6-kwallet-6.8.0-1.fc42.src.rpm'
tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9