kf6-kcrash-6.8.0-1.fc42
List of Findings
Error: COMPILER_WARNING (CWE-252): [#def1]
kf6-kcrash-6.8.0-build/kcrash-6.8.0/src/metadata.cpp: scope_hint: In constructor ‘KCrash::MetadataINIWriter::MetadataINIWriter(const QByteArray&)’
kf6-kcrash-6.8.0-build/kcrash-6.8.0/src/metadata.cpp:35:14: 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): [#def2]
kf6-kcrash-6.8.0-build/kcrash-6.8.0/src/metadata.cpp: scope_hint: In member function ‘virtual void KCrash::MetadataINIWriter::add(const char*, const char*, KCrash::MetadataWriter::BoolValue)’
kf6-kcrash-6.8.0-build/kcrash-6.8.0/src/metadata.cpp:63: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): [#def3]
kf6-kcrash-6.8.0-build/kcrash-6.8.0/src/metadata.cpp:64: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): [#def4]
kf6-kcrash-6.8.0-build/kcrash-6.8.0/src/metadata.cpp:69:22: 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): [#def5]
kf6-kcrash-6.8.0-build/kcrash-6.8.0/src/metadata.cpp:71:22: 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): [#def6]
kf6-kcrash-6.8.0-build/kcrash-6.8.0/src/metadata.cpp:75:14: 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): [#def7]
kf6-kcrash-6.8.0-build/kcrash-6.8.0/src/metadata.cpp:77:10: warning[-Wunused-result]: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’
Scan Properties
analyzer-version-clippy | 1.82.0 |
analyzer-version-cppcheck | 2.16.0 |
analyzer-version-gcc | 14.2.1 |
analyzer-version-gcc-analyzer | 15.0.0 |
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-22.us-west-2.compute.internal |
mock-config | fedora-rawhide-gcc-latest-x86_64 |
project-name | kf6-kcrash-6.8.0-1.fc42 |
store-results-to | /tmp/tmpxrrrpwrf/kf6-kcrash-6.8.0-1.fc42.tar.xz |
time-created | 2024-11-13 00:44:46 |
time-finished | 2024-11-13 00:46:13 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpxrrrpwrf/kf6-kcrash-6.8.0-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpxrrrpwrf/kf6-kcrash-6.8.0-1.fc42.src.rpm' |
tool-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |