kf6-kdesu-6.8.0-1.fc42
List of Findings
Error: GCC_ANALYZER_WARNING (CWE-131): [#def1]
kf6-kdesu-6.8.0-build/kdesu-6.8.0/src/kdesu_stub.c: scope_hint: In function ‘xrealloc’
kf6-kdesu-6.8.0-build/kdesu-6.8.0/src/kdesu_stub.c:102:11: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
Error: COMPILER_WARNING (CWE-252): [#def2]
kf6-kdesu-6.8.0-build/kdesu-6.8.0/src/kdesu_stub.c: scope_hint: In function ‘main’
kf6-kdesu-6.8.0-build/kdesu-6.8.0/src/kdesu_stub.c:348:9: warning[-Wunused-result]: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def3]
kf6-kdesu-6.8.0-build/kdesu-6.8.0/src/kdesud/kdesud.cpp: scope_hint: In function ‘void sigchld_handler(int)’
kf6-kdesu-6.8.0-build/kdesu-6.8.0/src/kdesud/kdesud.cpp:215: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-kdesu-6.8.0-build/kdesu-6.8.0/src/kdesud/kdesud.cpp: scope_hint: In function ‘int main(int, char**)’
kf6-kdesu-6.8.0-build/kdesu-6.8.0/src/kdesud/kdesud.cpp:418:10: warning[-Wunused-result]: ignoring return value of ‘int pipe2(int*, int)’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def5]
kf6-kdesu-6.8.0-build/kdesu-6.8.0/src/kdesud/kdesud.cpp:476:21: warning[-Wunused-result]: ignoring return value of ‘ssize_t read(int, void*, size_t)’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def6]
kf6-kdesu-6.8.0-build/kdesu-6.8.0/src/ptyprocess.cpp: scope_hint: In member function ‘void KDESu::PtyProcess::writeLine(const QByteArray&, bool)’
kf6-kdesu-6.8.0-build/kdesu-6.8.0/src/ptyprocess.cpp:254: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-kdesu-6.8.0-build/kdesu-6.8.0/src/ptyprocess.cpp:257: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): [#def8]
kf6-kdesu-6.8.0-build/kdesu-6.8.0/src/sshprocess.cpp: scope_hint: In member function ‘int KDESu::SshProcess::converseSsh(const char*, int)’
kf6-kdesu-6.8.0-build/kdesu-6.8.0/src/sshprocess.cpp:208: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): [#def9]
kf6-kdesu-6.8.0-build/kdesu-6.8.0/src/sshprocess.cpp:209: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): [#def10]
kf6-kdesu-6.8.0-build/kdesu-6.8.0/src/suprocess.cpp: scope_hint: In member function ‘int KDESu::SuProcess::converseSU(const char*)’
kf6-kdesu-6.8.0-build/kdesu-6.8.0/src/suprocess.cpp:275: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): [#def11]
kf6-kdesu-6.8.0-build/kdesu-6.8.0/src/suprocess.cpp:276:22: 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-37.us-west-2.compute.internal |
mock-config | fedora-rawhide-gcc-latest-x86_64 |
project-name | kf6-kdesu-6.8.0-1.fc42 |
store-results-to | /tmp/tmpqugv6nft/kf6-kdesu-6.8.0-1.fc42.tar.xz |
time-created | 2024-11-13 00:42:45 |
time-finished | 2024-11-13 00:44:28 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpqugv6nft/kf6-kdesu-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/tmpqugv6nft/kf6-kdesu-6.8.0-1.fc42.src.rpm' |
tool-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |