Error: COMPILER_WARNING (CWE-1164): [#def1] kimageformats-6.13.0/src/imageformats/jp2.cpp:54:13: warning[-Wunused-function]: ‘void warning_callback(const char*, void*)’ defined but not used # 54 | static void warning_callback(const char *msg, void *client_data) # | ^~~~~~~~~~~~~~~~ # 52| } # 53| # 54|-> static void warning_callback(const char *msg, void *client_data) # 55| { # 56| Q_UNUSED(client_data) Error: COMPILER_WARNING (CWE-1164): [#def2] kimageformats-6.13.0/src/imageformats/jp2.cpp:60:13: warning[-Wunused-function]: ‘void info_callback(const char*, void*)’ defined but not used # 60 | static void info_callback(const char *msg, void *client_data) # | ^~~~~~~~~~~~~ # 58| } # 59| # 60|-> static void info_callback(const char *msg, void *client_data) # 61| { # 62| Q_UNUSED(client_data) Error: COMPILER_WARNING: [#def3] kimageformats-6.13.0/src/imageformats/pic.cpp: scope_hint: In member function ‘SoftimagePICHandler::write(QImage const&)’ kimageformats-6.13.0/src/imageformats/pic.cpp:84:12: warning[-Wstringop-truncation]: ‘strncpy’ specified bound 80 equals destination size # 84 | strncpy(comment, header.comment.constData(), sizeof(comment)); # | ^ # 82| # 83| char comment[80] = {}; # 84|-> strncpy(comment, header.comment.constData(), sizeof(comment)); # 85| s.writeRawData(comment, sizeof(comment)); # 86| Error: COMPILER_WARNING: [#def4] kimageformats-6.13.0/src/imageformats/pic.cpp:88:12: warning[-Wstringop-truncation]: ‘strncpy’ specified bound 4 equals destination size # 88 | strncpy(id, header.id.constData(), sizeof(id)); # | ^ # 86| # 87| char id[4] = {}; # 88|-> strncpy(id, header.id.constData(), sizeof(id)); # 89| s.writeRawData(id, sizeof(id)); # 90|
analyzer-version-clippy | 1.86.0 |
analyzer-version-cppcheck | 2.17.1 |
analyzer-version-gcc | 15.0.1 |
analyzer-version-gcc-analyzer | 15.0.1 |
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-250.us-west-2.compute.internal |
known-false-positives | /usr/share/csmock/known-false-positives.js |
known-false-positives-rpm | known-false-positives-0.0.0.20250425.124705.g1c7c448.main-1.el9.noarch |
mock-config | fedora-rawhide-x86_64 |
project-name | kf6-kimageformats-6.13.0-3.fc43 |
store-results-to | /tmp/tmpphipoq18/kf6-kimageformats-6.13.0-3.fc43.tar.xz |
time-created | 2025-04-25 13:31:54 |
time-finished | 2025-04-25 13:34:21 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmpphipoq18/kf6-kimageformats-6.13.0-3.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpphipoq18/kf6-kimageformats-6.13.0-3.fc43.src.rpm' |
tool-version | csmock-3.8.1.20250422.172604.g26bc3d6-1.el9 |