Fixed findings

List of Findings

Error: COMPILER_WARNING (CWE-477): [#def1]
krunner-6.18.0/src/dbusrunner.cpp: scope_hint: In member function ‘virtual void KRunner::DBusRunner::run(const KRunner::RunnerContext&, const KRunner::QueryMatch&)’
krunner-6.18.0/src/dbusrunner.cpp:295:30: warning[-Wdeprecated-declarations]: ‘void KWaylandExtras::xdgActivationTokenArrived(int, const QString&)’ is deprecated: Since 6.19. Use xdgActivationToken()
#  295 |             &KWaylandExtras::xdgActivationTokenArrived,
#      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/KF6/KWindowSystem/KWaylandExtras:1: included_from: Included from here.
krunner-6.18.0/src/dbusrunner.cpp:20: included_from: Included from here.
/usr/include/KF6/KWindowSystem/kwaylandextras.h:113:78: note: declared here
#  113 |     KWINDOWSYSTEM_DEPRECATED_VERSION(6, 19, "Use xdgActivationToken()") void xdgActivationTokenArrived(int serial, const QString &token);
#      |                                                                              ^~~~~~~~~~~~~~~~~~~~~~~~~
#  293|           connect(
#  294|               KWaylandExtras::self(),
#  295|->             &KWaylandExtras::xdgActivationTokenArrived,
#  296|               this,
#  297|               [this, launchedSerial, service, matchId, actionId, run](int tokenSerial, const QString &token) {

Error: COMPILER_WARNING (CWE-477): [#def2]
krunner-6.18.0/src/dbusrunner.cpp:308:50: warning[-Wdeprecated-declarations]: ‘static void KWaylandExtras::requestXdgActivationToken(QWindow*, uint32_t, const QString&)’ is deprecated: Since 6.19. Use xdgActivationToken()
#  308 |         KWaylandExtras::requestXdgActivationToken(qGuiApp->focusWindow(), launchedSerial, {});
#      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/KF6/KWindowSystem/kwaylandextras.h:44:29: note: declared here
#   44 |     Q_INVOKABLE static void requestXdgActivationToken(QWindow *win, uint32_t serial, const QString &app_id);
#      |                             ^~~~~~~~~~~~~~~~~~~~~~~~~
#  306|               },
#  307|               Qt::SingleShotConnection);
#  308|->         KWaylandExtras::requestXdgActivationToken(qGuiApp->focusWindow(), launchedSerial, {});
#  309|       } else {
#  310|           run();

Scan Properties

analyzer-version-clippy1.92.0
analyzer-version-cppcheck2.19.1
analyzer-version-gcc16.0.0
analyzer-version-gcc-analyzer16.0.0
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.92.0
diffbase-analyzer-version-cppcheck2.19.1
diffbase-analyzer-version-gcc16.0.0
diffbase-analyzer-version-gcc-analyzer16.0.0
diffbase-analyzer-version-shellcheck0.11.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-142.us-west-2.compute.internal
diffbase-known-false-positives/usr/share/csmock/known-false-positives.js
diffbase-known-false-positives-rpmknown-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-namekf6-krunner-6.22.0-1.fc44
diffbase-store-results-to/tmp/tmpiu5yqo6d/kf6-krunner-6.22.0-1.fc44.tar.xz
diffbase-time-created2026-01-08 18:19:56
diffbase-time-finished2026-01-08 18:22:50
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmpiu5yqo6d/kf6-krunner-6.22.0-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpiu5yqo6d/kf6-krunner-6.22.0-1.fc44.src.rpm'
diffbase-tool-versioncsmock-3.8.3.20251215.161544.g62de9a5-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-142.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namekf6-krunner-6.18.0-1.fc43
store-results-to/tmp/tmpw_7r_w2q/kf6-krunner-6.18.0-1.fc43.tar.xz
time-created2026-01-08 18:16:10
time-finished2026-01-08 18:19:35
titleFixed findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmpw_7r_w2q/kf6-krunner-6.18.0-1.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpw_7r_w2q/kf6-krunner-6.18.0-1.fc43.src.rpm'
tool-versioncsmock-3.8.3.20251215.161544.g62de9a5-1.el9