kf6-kguiaddons-6.3.0-1.fc41
List of Defects
Error: COMPILER_WARNING (CWE-252): [#def1]
kf6-kguiaddons-6.3.0-build/kguiaddons-6.3.0/src/systemclipboard/waylandclipboard.cpp: scope_hint: In member function ‘virtual void DataControlSource::zwlr_data_control_source_v1_send(const QString&, int32_t)’
kf6-kguiaddons-6.3.0-build/kguiaddons-6.3.0/src/systemclipboard/waylandclipboard.cpp:354:10: warning[-Wunused-result]: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’
# 354 | write(fd, ba.constData(), ba.size());
# | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 352| action.sa_flags = 0;
# 353| sigaction(SIGPIPE, &action, &oldAction);
# 354|-> write(fd, ba.constData(), ba.size());
# 355| sigaction(SIGPIPE, &oldAction, nullptr);
# 356| close(fd);
Error: CLANG_WARNING: [#def2]
kf6-kguiaddons-6.3.0-build/kguiaddons-6.3.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-186.us-west-2.compute.internal |
mock-config | fedora-41-x86_64 |
project-name | kf6-kguiaddons-6.3.0-1.fc41 |
store-results-to | /tmp/tmpyhzg5vlm/kf6-kguiaddons-6.3.0-1.fc41.tar.xz |
time-created | 2024-07-03 14:17:17 |
time-finished | 2024-07-03 14:19:03 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpyhzg5vlm/kf6-kguiaddons-6.3.0-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpyhzg5vlm/kf6-kguiaddons-6.3.0-1.fc41.src.rpm' |
tool-version | csmock-3.5.3-1.el9 |