kf5-kwallet-5.116.0-1.fc41

List of Defects

Error: COMPILER_WARNING (CWE-477): [#def1]
kf5-kwallet-5.116.0-build/kwallet-5.116.0/src/api/KWallet/kwallet.cpp: scope_hint: In static member function ‘static void KWallet::Wallet::changePassword(const QString&, WId)’
kf5-kwallet-5.116.0-build/kwallet-5.116.0/src/api/KWallet/kwallet.cpp:351:56: warning[-Wdeprecated-declarations]: ‘static void KWindowSystem::allowExternalProcessWindowActivation(int)’ is deprecated: Since 5.104. Not implemented
#  351 |     KWindowSystem::allowExternalProcessWindowActivation();
#      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
kf5-kwallet-5.116.0-build/kwallet-5.116.0/src/api/KWallet/kwallet.cpp:21: included_from: Included from here.
/usr/include/KF5/KWindowSystem/kwindowsystem.h:739:17: note: declared here
#  739 |     static void allowExternalProcessWindowActivation(int pid = -1);
#      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  349|   
#  350|       // Make sure the password prompt window will be visible and activated
#  351|->     KWindowSystem::allowExternalProcessWindowActivation();
#  352|   #if HAVE_KSECRETSSERVICE
#  353|       if (walletLauncher()->m_useKSecretsService) {

Error: COMPILER_WARNING (CWE-477): [#def2]
kf5-kwallet-5.116.0-build/kwallet-5.116.0/src/api/KWallet/kwallet.cpp: scope_hint: In static member function ‘static KWallet::Wallet* KWallet::Wallet::openWallet(const QString&, WId, OpenType)’
kf5-kwallet-5.116.0-build/kwallet-5.116.0/src/api/KWallet/kwallet.cpp:501:60: warning[-Wdeprecated-declarations]: ‘static void KWindowSystem::allowExternalProcessWindowActivation(int)’ is deprecated: Since 5.104. Not implemented
#  501 |         KWindowSystem::allowExternalProcessWindowActivation();
#      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/usr/include/KF5/KWindowSystem/kwindowsystem.h:739:17: note: declared here
#  739 |     static void allowExternalProcessWindowActivation(int pid = -1);
#      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  499|   
#  500|           // Make sure the password prompt window will be visible and activated
#  501|->         KWindowSystem::allowExternalProcessWindowActivation();
#  502|   
#  503|           org::kde::KWallet &interface = walletLauncher->getInterface();

Error: COMPILER_WARNING (CWE-477): [#def3]
kf5-kwallet-5.116.0-build/kwallet-5.116.0/src/api/KWallet/kwallet.cpp: scope_hint: In member function ‘virtual void KWallet::Wallet::requestChangePassword(WId)’
kf5-kwallet-5.116.0-build/kwallet-5.116.0/src/api/KWallet/kwallet.cpp:721:60: warning[-Wdeprecated-declarations]: ‘static void KWindowSystem::allowExternalProcessWindowActivation(int)’ is deprecated: Since 5.104. Not implemented
#  721 |         KWindowSystem::allowExternalProcessWindowActivation();
#      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/usr/include/KF5/KWindowSystem/kwindowsystem.h:739:17: note: declared here
#  739 |     static void allowExternalProcessWindowActivation(int pid = -1);
#      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  719|   
#  720|           // Make sure the password prompt window will be visible and activated
#  721|->         KWindowSystem::allowExternalProcessWindowActivation();
#  722|   
#  723|           walletLauncher()->getInterface().changePassword(d->name, (qlonglong)w, appid());

Scan Properties

analyzer-version-clang18.1.7
analyzer-version-cppcheck2.14.2
analyzer-version-gcc14.1.1
analyzer-version-gcc-analyzer14.1.1
analyzer-version-shellcheck0.10.0
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-171.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namekf5-kwallet-5.116.0-1.fc41
store-results-to/tmp/tmpp1gax4w2/kf5-kwallet-5.116.0-1.fc41.tar.xz
time-created2024-07-03 13:51:02
time-finished2024-07-03 13:52:42
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpp1gax4w2/kf5-kwallet-5.116.0-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpp1gax4w2/kf5-kwallet-5.116.0-1.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9