kscreen-6.1.1-1.fc41

List of Defects

Error: COMPILER_WARNING (CWE-563): [#def1]
kscreen-6.1.1-build/kscreen-6.1.1/kcm/config_handler.cpp: scope_hint: In lambda function
kscreen-6.1.1-build/kscreen-6.1.1/kcm/config_handler.cpp:48:87: warning[-Wunused-parameter]: unused parameter ‘topLeft’
#   48 |     connect(m_outputModel, &OutputModel::dataChanged, this, [this](const QModelIndex &topLeft, const QModelIndex &bottomRight, const QList<int> &roles) {
#      |                                                                    ~~~~~~~~~~~~~~~~~~~^~~~~~~
#   46|       m_lastNormalizedScreenSize = screenSize();
#   47|   
#   48|->     connect(m_outputModel, &OutputModel::dataChanged, this, [this](const QModelIndex &topLeft, const QModelIndex &bottomRight, const QList<int> &roles) {
#   49|           Q_UNUSED(bottomRight)
#   50|           // Do not run checks during interactive reaarange

Error: COMPILER_WARNING (CWE-563): [#def2]
kscreen-6.1.1-build/kscreen-6.1.1/kcm/config_handler.cpp:48:146: warning[-Wunused-parameter]: unused parameter ‘roles’
#   48 |     connect(m_outputModel, &OutputModel::dataChanged, this, [this](const QModelIndex &topLeft, const QModelIndex &bottomRight, const QList<int> &roles) {
#      |                                                                                                                                ~~~~~~~~~~~~~~~~~~^~~~~
#   46|       m_lastNormalizedScreenSize = screenSize();
#   47|   
#   48|->     connect(m_outputModel, &OutputModel::dataChanged, this, [this](const QModelIndex &topLeft, const QModelIndex &bottomRight, const QList<int> &roles) {
#   49|           Q_UNUSED(bottomRight)
#   50|           // Do not run checks during interactive reaarange

Error: CLANG_WARNING: [#def3]
kscreen-6.1.1-build/kscreen-6.1.1/kded/daemon.cpp:175:1: warning[cplusplus.NewDeleteLeaks]: Potential memory leak
#  173|           }
#  174|       });
#  175|-> }
#  176|   
#  177|   void KScreenDaemon::applyConfig()

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-228.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namekscreen-6.1.1-1.fc41
store-results-to/tmp/tmpphuf0phk/kscreen-6.1.1-1.fc41.tar.xz
time-created2024-07-03 14:25:30
time-finished2024-07-03 14:27:54
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpphuf0phk/kscreen-6.1.1-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpphuf0phk/kscreen-6.1.1-1.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9