plasma-nm-6.1.1-1.fc41

List of Defects

Error: COMPILER_WARNING (CWE-477): [#def1]
plasma-nm-6.1.1-build/plasma-nm-6.1.1/kcm/kcm.cpp: scope_hint: In constructor ‘KCMNetworkmanagement::KCMNetworkmanagement(QObject*, const KPluginMetaData&, const QVariantList&)’
plasma-nm-6.1.1-build/plasma-nm-6.1.1/kcm/kcm.cpp:127:27: warning[-Wdeprecated-declarations]: ‘bool QVariant::canConvert(int) const’ is deprecated
#  127 |         if (arg.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.1.1-build/plasma-nm-6.1.1/libs/editor/connectioneditorbase.h:12: included_from: Included from here.
plasma-nm-6.1.1-build/plasma-nm-6.1.1/libs/editor/connectioneditortabwidget.h:12: included_from: Included from here.
plasma-nm-6.1.1-build/plasma-nm-6.1.1/kcm/kcm.h:10: included_from: Included from here.
plasma-nm-6.1.1-build/plasma-nm-6.1.1/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
#      |          ^~~~~~~~~~
#  125|       static const QLatin1String uuidArgumentMarker{"Uuid="};
#  126|       for (QVariant arg : args) {
#  127|->         if (arg.canConvert(QMetaType::QString)) {
#  128|               QString uuid = arg.toString();
#  129|               if (uuid.startsWith(uuidArgumentMarker)) {

Error: CLANG_WARNING: [#def2]
plasma-nm-6.1.1-build/plasma-nm-6.1.1/libs/networkstatus.cpp:80:1: warning[cplusplus.NewDeleteLeaks]: Potential leak of memory pointed to by 'callWatcher'
#   78|           watcher->deleteLater();
#   79|       });
#   80|-> }
#   81|   
#   82|   NetworkStatus::~NetworkStatus() = default;

Error: CLANG_WARNING: [#def3]
plasma-nm-6.1.1-build/plasma-nm-6.1.1/vpn/openconnect/openconnectauth.cpp:703:20: warning[cplusplus.NewDeleteLeaks]: Potential leak of memory pointed to by 'cmb'
#  701|                   connect(cmb, QOverload<int>::of(&QComboBox::currentIndexChanged), this, &OpenconnectAuthWidget::formGroupChanged);
#  702|               }
#  703|->             widget = qobject_cast<QWidget *>(cmb);
#  704|           }
#  705|           if (widget) {

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-158.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-nameplasma-nm-6.1.1-1.fc41
store-results-to/tmp/tmpvin9yh6y/plasma-nm-6.1.1-1.fc41.tar.xz
time-created2024-07-03 17:07:27
time-finished2024-07-03 17:15:31
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpvin9yh6y/plasma-nm-6.1.1-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpvin9yh6y/plasma-nm-6.1.1-1.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9