plasma-workspace-6.3.4-2.fc43
List of Findings
Error: SHELLCHECK_WARNING (CWE-569): [#def1]
/usr/libexec/kf6/kauth/fontinst_x11:17:10: warning[SC2048]: Use "$@" (with quotes) to prevent whitespace problems.
Error: SHELLCHECK_WARNING (CWE-758): [#def2]
/usr/libexec/plasma-sourceenv.sh:1:1: error[SC2148]: Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive.
Error: SHELLCHECK_WARNING (CWE-88): [#def3]
/usr/libexec/plasma-sourceenv.sh:1:10: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: COMPILER_WARNING (CWE-563): [#def4]
plasma-workspace-6.3.4/applets/systemtray/container/systemtraycontainer.cpp: scope_hint: In member function ‘void SystemTrayContainer::cleanupConfig()’
plasma-workspace-6.3.4/applets/systemtray/container/systemtraycontainer.cpp:172:38: warning[-Wunused-variable]: unused variable ‘contApplet’
Error: COMPILER_WARNING (CWE-252): [#def5]
plasma-workspace-6.3.4/dataengines/time/timeengine.cpp: scope_hint: In lambda function
plasma-workspace-6.3.4/dataengines/time/timeengine.cpp:71:13: warning[-Wunused-result]: ignoring return value of ‘ssize_t read(int, void*, size_t)’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-477): [#def6]
plasma-workspace-6.3.4/kcms/icons/main.cpp: scope_hint: In member function ‘void IconModule::ghnsEntriesChanged()’
plasma-workspace-6.3.4/kcms/icons/main.cpp:132:41: warning[-Wdeprecated-declarations]: ‘void KIconLoader::newIconLoader()’ is deprecated: Since 5.0. Use KIconLoader::emitChange(Group)
/usr/include/KF6/KIconThemes/KIconLoader:1: included_from: Included from here.
plasma-workspace-6.3.4/kcms/icons/main.cpp:31: included_from: Included from here.
/usr/include/KF6/KIconThemes/kiconloader.h:647:10: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def7]
plasma-workspace-6.3.4/kcms/icons/main.cpp: scope_hint: In member function ‘void IconModule::installThemeFile(const QString&)’
plasma-workspace-6.3.4/kcms/icons/main.cpp:186:41: warning[-Wdeprecated-declarations]: ‘void KIconLoader::newIconLoader()’ is deprecated: Since 5.0. Use KIconLoader::emitChange(Group)
/usr/include/KF6/KIconThemes/kiconloader.h:647:10: note: declared here
Error: COMPILER_WARNING (CWE-252): [#def8]
plasma-workspace-6.3.4/kcms/kfontinst/dbus/FontInst.cpp: scope_hint: In function ‘bool KFI::renameFontFile(const QString&, const QString&, int, int)’
plasma-workspace-6.3.4/kcms/kfontinst/dbus/FontInst.cpp:401:16: warning[-Wunused-result]: ignoring return value of ‘int chown(const char*, __uid_t, __gid_t)’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def9]
plasma-workspace-6.3.4/kcms/kfontinst/dbus/Helper.cpp: scope_hint: In function ‘bool KFI::renameFontFile(const QString&, const QString&, int, int)’
plasma-workspace-6.3.4/kcms/kfontinst/dbus/Helper.cpp:190:16: warning[-Wunused-result]: ignoring return value of ‘int chown(const char*, __uid_t, __gid_t)’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def10]
plasma-workspace-6.3.4/kcms/kfontinst/dbus/Helper.cpp: scope_hint: In member function ‘int KFI::Helper::move(const QVariantMap&)’
plasma-workspace-6.3.4/kcms/kfontinst/dbus/Helper.cpp:225:28: warning[-Wunused-result]: ignoring return value of ‘int chown(const char*, __uid_t, __gid_t)’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-477): [#def11]
plasma-workspace-6.3.4/kcms/kfontinst/viewpart/CharTip.cpp: scope_hint: In member function ‘void KFI::CCharTip::showTip()’
plasma-workspace-6.3.4/kcms/kfontinst/viewpart/CharTip.cpp:158:34: warning[-Wdeprecated-declarations]: ‘static QString QString::fromUcs4(const uint*, qsizetype)’ is deprecated: Use char32_t* overload.
/usr/include/qt6/QtCore/qhashfunctions.h:9: included_from: Included from here.
/usr/include/qt6/QtCore/qlist.h:11: included_from: Included from here.
/usr/include/qt6/QtCore/qstringlist.h:5: included_from: Included from here.
/usr/include/qt6/QtGui/qcolor.h:10: included_from: Included from here.
/usr/include/qt6/QtGui/QColor:1: included_from: Included from here.
plasma-workspace-6.3.4/kcms/kfontinst/lib/FcEngine.h:8: included_from: Included from here.
plasma-workspace-6.3.4/kcms/kfontinst/viewpart/CharTip.h:8: included_from: Included from here.
plasma-workspace-6.3.4/kcms/kfontinst/viewpart/CharTip.cpp:12: included_from: Included from here.
/usr/include/qt6/QtCore/qstring.h:762:20: note: declared here
Error: COMPILER_WARNING (CWE-758): [#def12]
plasma-workspace-6.3.4/ksmserver/legacy.cpp: scope_hint: In member function ‘void KSMServer::performLegacySessionSave()’
plasma-workspace-6.3.4/ksmserver/legacy.cpp:181:30: warning[-Wrestrict]: passing argument 2 to ‘restrict’-qualified parameter aliases with argument 4
Error: COMPILER_WARNING (CWE-563): [#def13]
plasma-workspace-6.3.4/ksmserver/main.cpp: scope_hint: In function ‘void sanity_check(int, char**)’
plasma-workspace-6.3.4/ksmserver/main.cpp:60:23: warning[-Wunused-parameter]: unused parameter ‘argc’
Error: COMPILER_WARNING (CWE-563): [#def14]
plasma-workspace-6.3.4/ksmserver/main.cpp:60:35: warning[-Wunused-parameter]: unused parameter ‘argv’
Error: COMPILER_WARNING (CWE-563): [#def15]
plasma-workspace-6.3.4/ksmserver/server.cpp:176:24: warning[-Wunused-variable]: ‘remTempFile’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def16]
plasma-workspace-6.3.4/ksmserver/server.cpp: scope_hint: At global scope
plasma-workspace-6.3.4/ksmserver/server.cpp:308:13: warning[-Wunused-function]: ‘void fprintfhex(FILE*, unsigned int, char*)’ defined but not used
Error: COMPILER_WARNING (CWE-569): [#def17]
plasma-workspace-6.3.4/ksmserver/server.cpp: scope_hint: In function ‘X::Status SetAuthentication(int, _IceListenObj**, IceAuthDataEntry**)’
plasma-workspace-6.3.4/ksmserver/server.cpp:362:39: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-569): [#def18]
plasma-workspace-6.3.4/ksmserver/server.cpp:388:39: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
Error: COMPILER_WARNING (CWE-1023): [#def19]
plasma-workspace-6.3.4/shell/panelview.cpp:102:16: warning[-Wswitch]: enumeration value ‘Desktop’ not handled in switch
Error: COMPILER_WARNING (CWE-1023): [#def20]
plasma-workspace-6.3.4/shell/panelview.cpp: scope_hint: In lambda function
plasma-workspace-6.3.4/shell/panelview.cpp:102:16: warning[-Wswitch]: enumeration value ‘Floating’ not handled in switch
Error: COMPILER_WARNING (CWE-1023): [#def21]
plasma-workspace-6.3.4/shell/panelview.cpp:102:16: warning[-Wswitch]: enumeration value ‘FullScreen’ not handled in switch
Error: COMPILER_WARNING (CWE-457): [#def22]
plasma-workspace-6.3.4/shell/shellcorona.cpp:2342:61: warning[-Wmaybe-uninitialized]: ‘newTrayContainment’ may be used uninitialized
plasma-workspace-6.3.4/shell/shellcorona.cpp:2332:34: note: ‘newTrayContainment’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def23]
plasma-workspace-6.3.4/shell/shellcorona.cpp: scope_hint: In member function ‘ShellCorona::clonePanelTo(PanelView*, Plasma::Types::Location, QScreen*)’
plasma-workspace-6.3.4/shell/shellcorona.cpp:2343:61: warning[-Wmaybe-uninitialized]: ‘oldTrayContainment’ may be used uninitialized
plasma-workspace-6.3.4/shell/shellcorona.cpp:2331:34: note: ‘oldTrayContainment’ was declared here
Error: COMPILER_WARNING (CWE-252): [#def24]
plasma-workspace-6.3.4/startkde/kcminit/main.cpp: scope_hint: In function ‘void sendReady()’
plasma-workspace-6.3.4/startkde/kcminit/main.cpp:37:10: warning[-Wunused-result]: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def25]
plasma-workspace-6.3.4/startkde/kcminit/main.cpp: scope_hint: In function ‘void waitForReady()’
plasma-workspace-6.3.4/startkde/kcminit/main.cpp:46:9: warning[-Wunused-result]: ignoring return value of ‘ssize_t read(int, void*, size_t)’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def26]
plasma-workspace-6.3.4/startkde/kcminit/main.cpp: scope_hint: In function ‘int main(int, char**)’
plasma-workspace-6.3.4/startkde/kcminit/main.cpp:154:9: warning[-Wunused-result]: ignoring return value of ‘int pipe(int*)’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def27]
plasma-workspace-6.3.4/startkde/plasma-session/signalhandler.cpp: scope_hint: In static member function ‘static void SignalHandler::signalHandler(int)’
plasma-workspace-6.3.4/startkde/plasma-session/signalhandler.cpp:45:12: warning[-Wunused-result]: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def28]
plasma-workspace-6.3.4/startkde/plasma-session/signalhandler.cpp: scope_hint: In member function ‘void SignalHandler::handleSignal()’
plasma-workspace-6.3.4/startkde/plasma-session/signalhandler.cpp:52:11: warning[-Wunused-result]: ignoring return value of ‘ssize_t read(int, void*, size_t)’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-563): [#def29]
plasma-workspace-6.3.4/startkde/startplasma.cpp: scope_hint: In function ‘void {anonymous}::canberraFinishCallback(ca_context*, uint32_t, int, void*)’
plasma-workspace-6.3.4/startkde/startplasma.cpp:789:83: warning[-Wunused-parameter]: unused parameter ‘userdata’
Error: COMPILER_WARNING (CWE-477): [#def30]
plasma-workspace-6.3.4/wallpapers/image/plugin/utils/mediaproxy.cpp: scope_hint: In member function ‘virtual void MediaProxy::componentComplete()’
plasma-workspace-6.3.4/wallpapers/image/plugin/utils/mediaproxy.cpp:55:40: warning[-Wdeprecated-declarations]: ‘void QGuiApplication::paletteChanged(const QPalette&)’ is deprecated: Handle QEvent::ApplicationPaletteChange instead
/usr/include/qt6/QtGui/QGuiApplication:1: included_from: Included from here.
plasma-workspace-6.3.4/wallpapers/image/plugin/utils/mediaproxy.cpp:13: included_from: Included from here.
/usr/include/qt6/QtGui/qguiapplication.h:161:89: note: declared here
Scan Properties
analyzer-version-clippy | 1.86.0 |
analyzer-version-cppcheck | 2.17.1 |
analyzer-version-gcc | 15.0.1 |
analyzer-version-gcc-analyzer | 15.0.1 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-184.us-west-2.compute.internal |
known-false-positives | /usr/share/csmock/known-false-positives.js |
known-false-positives-rpm | known-false-positives-0.0.0.20250425.124705.g1c7c448.main-1.el9.noarch |
mock-config | fedora-rawhide-x86_64 |
project-name | plasma-workspace-6.3.4-2.fc43 |
store-results-to | /tmp/tmpccjnrhux/plasma-workspace-6.3.4-2.fc43.tar.xz |
time-created | 2025-04-25 15:15:47 |
time-finished | 2025-04-25 15:36:02 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmpccjnrhux/plasma-workspace-6.3.4-2.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpccjnrhux/plasma-workspace-6.3.4-2.fc43.src.rpm' |
tool-version | csmock-3.8.1.20250422.172604.g26bc3d6-1.el9 |