kf5-kguiaddons-5.116.0-1.fc41

List of Defects

Error: COMPILER_WARNING (CWE-252): [#def1]
kf5-kguiaddons-5.116.0-build/kguiaddons-5.116.0/src/systemclipboard/waylandclipboard.cpp: scope_hint: In member function ‘virtual void DataControlSource::zwlr_data_control_source_v1_send(const QString&, int32_t)’
kf5-kguiaddons-5.116.0-build/kguiaddons-5.116.0/src/systemclipboard/waylandclipboard.cpp:368:10: warning[-Wunused-result]: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’
#  368 |     write(fd, ba.constData(), ba.size());
#      |     ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  366|       action.sa_flags = 0;
#  367|       sigaction(SIGPIPE, &action, &oldAction);
#  368|->     write(fd, ba.constData(), ba.size());
#  369|       sigaction(SIGPIPE, &oldAction, nullptr);
#  370|       close(fd);

Error: CLANG_WARNING: [#def2]
kf5-kguiaddons-5.116.0-build/kguiaddons-5.116.0/src/util/klocalimagecacheimpl.cpp:90:5: warning[cplusplus.NewDeleteLeaks]: Potential memory leak
#   88|   bool KLocalImageCacheImplementation::insertLocalPixmap(const QString &key, const QPixmap &pixmap) const
#   89|   {
#   90|->     return d->insertPixmap(key, new QPixmap(pixmap));
#   91|   }
#   92|   

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-169.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namekf5-kguiaddons-5.116.0-1.fc41
store-results-to/tmp/tmpk7ts9b6z/kf5-kguiaddons-5.116.0-1.fc41.tar.xz
time-created2024-07-03 13:50:27
time-finished2024-07-03 13:51:43
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpk7ts9b6z/kf5-kguiaddons-5.116.0-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpk7ts9b6z/kf5-kguiaddons-5.116.0-1.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9