Fixed findings

List of Findings

Error: COMPILER_WARNING (CWE-477): [#def1]
kauth-6.25.0/src/backends/polkit-1/Polkit1Backend.cpp: scope_hint: In member function ‘virtual void KAuth::Polkit1Backend::preAuthAction(const QString&, QWindow*)’
kauth-6.25.0/src/backends/polkit-1/Polkit1Backend.cpp:70:41: warning[-Wdeprecated-declarations]: ‘static void KWaylandExtras::exportWindow(QWindow*)’ is deprecated: Since 6.28. Use exportToplevel()
#   70 |             KWaylandExtras::exportWindow(parentWindow);
#      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/KF6/KWindowSystem/KWaylandExtras:1: included_from: Included from here.
kauth-6.25.0/src/backends/polkit-1/Polkit1Backend.cpp:14: included_from: Included from here.
/usr/include/KF6/KWindowSystem/kwaylandextras.h:61:29: note: declared here
#   61 |     Q_INVOKABLE static void exportWindow(QWindow *window);
#      |                             ^~~~~~~~~~~~
#   68|       if (QDBusConnection::sessionBus().interface()->isServiceRegistered(QLatin1String("org.kde.polkit-kde-authentication-agent-1"))) {
#   69|           if (KWindowSystem::isPlatformWayland()) {
#   70|->             KWaylandExtras::exportWindow(parentWindow);
#   71|               connect(
#   72|                   KWaylandExtras::self(),

Error: COMPILER_WARNING (CWE-477): [#def2]
kauth-6.25.0/src/backends/polkit-1/Polkit1Backend.cpp: scope_hint: In member function ‘void KAuth::Polkit1Backend::sendActivationToken(const QString&, QWindow*)’
kauth-6.25.0/src/backends/polkit-1/Polkit1Backend.cpp:130:26: warning[-Wdeprecated-declarations]: ‘void KWaylandExtras::xdgActivationTokenArrived(int, const QString&)’ is deprecated: Since 6.19. Use xdgActivationToken()
#  130 |         &KWaylandExtras::xdgActivationTokenArrived,
#      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/KF6/KWindowSystem/kwaylandextras.h:141:78: note: declared here
#  141 |     KWINDOWSYSTEM_DEPRECATED_VERSION(6, 19, "Use xdgActivationToken()") void xdgActivationTokenArrived(int serial, const QString &token);
#      |                                                                              ^~~~~~~~~~~~~~~~~~~~~~~~~
#  128|       connect(
#  129|           KWaylandExtras::self(),
#  130|->         &KWaylandExtras::xdgActivationTokenArrived,
#  131|           this,
#  132|           [this, requestedSerial, action](quint32 serial, const QString &token) {

Error: COMPILER_WARNING (CWE-477): [#def3]
kauth-6.25.0/src/backends/polkit-1/Polkit1Backend.cpp:153:46: warning[-Wdeprecated-declarations]: ‘static void KWaylandExtras::requestXdgActivationToken(QWindow*, uint32_t, const QString&)’ is deprecated: Since 6.19. Use xdgActivationToken()
#  153 |     KWaylandExtras::requestXdgActivationToken(window, requestedSerial, {});
#      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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);
#      |                             ^~~~~~~~~~~~~~~~~~~~~~~~~
#  151|           },
#  152|           Qt::SingleShotConnection);
#  153|->     KWaylandExtras::requestXdgActivationToken(window, requestedSerial, {});
#  154|   }
#  155|   

Scan Properties

analyzer-version-clippy1.97.1
analyzer-version-cppcheck2.21.1
analyzer-version-gcc16.1.1
analyzer-version-gcc-analyzer16.1.1
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.97.1
diffbase-analyzer-version-cppcheck2.21.1
diffbase-analyzer-version-gcc16.1.1
diffbase-analyzer-version-gcc-analyzer16.1.1
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-169.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.20260524.213755.g3c6d0be.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-namekf6-kauth-6.28.0-2.fc45
diffbase-store-results-to/tmp/tmp_25d4947/kf6-kauth-6.28.0-2.fc45.tar.xz
diffbase-time-created2026-08-03 16:02:10
diffbase-time-finished2026-08-03 16:04:36
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,unicontrol,shellcheck,cppcheck' '-o' '/tmp/tmp_25d4947/kf6-kauth-6.28.0-2.fc45.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp_25d4947/kf6-kauth-6.28.0-2.fc45.src.rpm'
diffbase-tool-versioncsmock-3.8.7.20260803.142340.gb75b18e-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-169.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20260524.213755.g3c6d0be.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namekf6-kauth-6.25.0-1.fc44
store-results-to/tmp/tmppqavkmxo/kf6-kauth-6.25.0-1.fc44.tar.xz
time-created2026-08-03 15:58:46
time-finished2026-08-03 16:02:04
titleFixed findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,unicontrol,shellcheck,cppcheck' '-o' '/tmp/tmppqavkmxo/kf6-kauth-6.25.0-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmppqavkmxo/kf6-kauth-6.25.0-1.fc44.src.rpm'
tool-versioncsmock-3.8.7.20260803.142340.gb75b18e-1.el9