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-clang | 18.1.7 |
analyzer-version-cppcheck | 2.14.2 |
analyzer-version-gcc | 14.1.1 |
analyzer-version-gcc-analyzer | 14.1.1 |
analyzer-version-shellcheck | 0.10.0 |
enabled-plugins | clang, cppcheck, gcc, shellcheck |
exit-code | 0 |
host | ip-172-16-1-169.us-west-2.compute.internal |
mock-config | fedora-41-x86_64 |
project-name | kf5-kguiaddons-5.116.0-1.fc41 |
store-results-to | /tmp/tmpk7ts9b6z/kf5-kguiaddons-5.116.0-1.fc41.tar.xz |
time-created | 2024-07-03 13:50:27 |
time-finished | 2024-07-03 13:51:43 |
tool | csmock |
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-version | csmock-3.5.3-1.el9 |