plasma-nm-6.3.4-1.fc43

List of Findings

Error: COMPILER_WARNING (CWE-477): [#def1]
plasma-nm-6.3.4/kcm/kcm.cpp: scope_hint: In member function ‘QString KCMNetworkmanagement::vpnFileFromArgs(const QVariantList&) const’
plasma-nm-6.3.4/kcm/kcm.cpp:239:34: warning[-Wdeprecated-declarations]: ‘bool QVariant::canConvert(int) const’ is deprecated
#  239 |         if (argVariant.canConvert(QMetaType::QString)) {
#      |             ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/usr/include/qt6/QtDBus/qtdbusglobal.h:9: included_from: Included from here.
/usr/include/qt6/QtDBus/qdbuspendingcall.h:7: included_from: Included from here.
/usr/include/qt6/QtDBus/QDBusPendingCallWatcher:1: included_from: Included from here.
plasma-nm-6.3.4/libs/editor/connectioneditorbase.h:12: included_from: Included from here.
plasma-nm-6.3.4/libs/editor/connectioneditortabwidget.h:12: included_from: Included from here.
plasma-nm-6.3.4/kcm/kcm.h:10: included_from: Included from here.
plasma-nm-6.3.4/kcm/kcm.cpp:7: included_from: Included from here.
/usr/include/qt6/QtCore/qvariant.h:353:10: note: declared here
#  353 |     bool canConvert(int targetTypeId) const
#      |          ^~~~~~~~~~
#  237|       static const QLatin1String vpnArgumentMarker{"VPN="};
#  238|       for (QVariant argVariant : args) {
#  239|->         if (argVariant.canConvert(QMetaType::QString)) {
#  240|               QString arg = argVariant.toString();
#  241|               if (arg.startsWith(vpnArgumentMarker)) {

Error: COMPILER_WARNING (CWE-477): [#def2]
plasma-nm-6.3.4/kcm/kcm.cpp: scope_hint: In member function ‘NetworkManager::Connection::Ptr KCMNetworkmanagement::connectionFromArgs(const QVariantList&) const’
plasma-nm-6.3.4/kcm/kcm.cpp:254:27: warning[-Wdeprecated-declarations]: ‘bool QVariant::canConvert(int) const’ is deprecated
#  254 |         if (arg.canConvert(QMetaType::QString)) {
#      |             ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/usr/include/qt6/QtCore/qvariant.h:353:10: note: declared here
#  353 |     bool canConvert(int targetTypeId) const
#      |          ^~~~~~~~~~
#  252|       static const QLatin1String uuidArgumentMarker{"Uuid="};
#  253|       for (QVariant arg : args) {
#  254|->         if (arg.canConvert(QMetaType::QString)) {
#  255|               QString uuid = arg.toString();
#  256|               if (uuid.startsWith(uuidArgumentMarker)) {

Scan Properties

analyzer-version-clippy1.86.0
analyzer-version-cppcheck2.17.1
analyzer-version-gcc15.0.1
analyzer-version-gcc-analyzer15.0.1
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-213.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250425.124705.g1c7c448.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-nameplasma-nm-6.3.4-1.fc43
store-results-to/tmp/tmp7tigb0b5/plasma-nm-6.3.4-1.fc43.tar.xz
time-created2025-04-25 14:58:18
time-finished2025-04-25 15:04:54
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmp7tigb0b5/plasma-nm-6.3.4-1.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp7tigb0b5/plasma-nm-6.3.4-1.fc43.src.rpm'
tool-versioncsmock-3.8.1.20250422.172604.g26bc3d6-1.el9