Error: COMPILER_WARNING (CWE-704): [#def1] unbound-1.25.1/daemon/remote.c: scope_hint: In function 'add_open' unbound-1.25.1/daemon/remote.c:310:27: warning[-Wdiscarded-qualifiers]: initialization discards 'const' qualifier from pointer target type # 310 | char* s = strchr(ip, '@'); # | ^~~~~~ # 308| } # 309| } else { # 310|-> char* s = strchr(ip, '@'); # 311| char newif[128]; # 312| if(s) { Error: COMPILER_WARNING (CWE-704): [#def2] unbound-1.25.1/daemon/remote.c:310:27: warning[-Wdiscarded-qualifiers]: initialization discards 'const' qualifier from pointer target type # 308| } # 309| } else { # 310|-> char* s = strchr(ip, '@'); # 311| char newif[128]; # 312| if(s) { Error: CPPCHECK_WARNING (CWE-457): [#def3] unbound-1.25.1/services/mesh.c:307: warning[uninitvar]: Uninitialized variable: &age # 305| &m->first_reply_time); # 306| if(!m->has_first_reply_time || # 307|-> timeval_smaller(&mesh->jostle_max, &age)) { # 308| /* its a goner */ # 309| log_nametypeclass(VERB_ALGO, "query jostled out to " Error: GCC_ANALYZER_WARNING (CWE-476): [#def4] unbound-1.25.1/util/data/msgencode.c:913:33: warning[-Wanalyzer-null-dereference]: dereference of NULL 'prev' unbound-1.25.1/util/data/msgencode.c:1112:1: enter_function: entry to 'extended_error_encode' unbound-1.25.1/util/data/msgencode.c:1144:11: branch_true: following 'true' branch... unbound-1.25.1/util/data/msgencode.c:1155:35: call_function: calling 'calc_edns_field_size' from 'extended_error_encode' unbound-1.25.1/util/data/msgencode.c:1155:35: return_function: returning to 'extended_error_encode' from 'calc_edns_field_size' unbound-1.25.1/util/data/msgencode.c:1156:28: call_function: calling 'calc_ede_option_size' from 'extended_error_encode' unbound-1.25.1/util/data/msgencode.c:1156:28: return_function: returning to 'extended_error_encode' from 'calc_ede_option_size' unbound-1.25.1/util/data/msgencode.c:1157:19: branch_false: following 'false' branch... unbound-1.25.1/util/data/msgencode.c:1159:51: branch_false: ...to here unbound-1.25.1/util/data/msgencode.c:1159:24: branch_true: following 'true' branch... unbound-1.25.1/util/data/msgencode.c:1160:25: call_function: inlined call to 'ede_trim_text' from 'extended_error_encode' # 911| * this point from the other branches; # 912| * cut this option off */ # 913|-> prev->next = curr->next; # 914| curr = curr->next; # 915| } else if(curr->opt_len > 2) {
| analyzer-version-clippy | 1.95.0 |
| analyzer-version-cppcheck | 2.20.0 |
| analyzer-version-gcc | 16.1.1 |
| analyzer-version-gcc-analyzer | 16.1.1 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| diffbase-analyzer-version-clippy | 1.95.0 |
| diffbase-analyzer-version-cppcheck | 2.20.0 |
| diffbase-analyzer-version-gcc | 16.1.1 |
| diffbase-analyzer-version-gcc-analyzer | 16.1.1 |
| diffbase-analyzer-version-shellcheck | 0.11.0 |
| diffbase-analyzer-version-unicontrol | 0.0.2 |
| diffbase-enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| diffbase-exit-code | 0 |
| diffbase-host | ip-172-16-1-243.us-west-2.compute.internal |
| diffbase-known-false-positives | /usr/share/csmock/known-false-positives.js |
| diffbase-known-false-positives-rpm | known-false-positives-0.0.0.20260524.213755.g3c6d0be.main-1.el9.noarch |
| diffbase-mock-config | fedora-rawhide-x86_64 |
| diffbase-project-name | unbound-1.24.2-10.fc44 |
| diffbase-store-results-to | /tmp/tmpfvo04lck/unbound-1.24.2-10.fc44.tar.xz |
| diffbase-time-created | 2026-06-01 17:04:16 |
| diffbase-time-finished | 2026-06-01 17:07:44 |
| diffbase-tool | csmock |
| diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'shellcheck,cppcheck,clippy,unicontrol,gcc' '-o' '/tmp/tmpfvo04lck/unbound-1.24.2-10.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpfvo04lck/unbound-1.24.2-10.fc44.src.rpm' |
| diffbase-tool-version | csmock-3.8.5.20260529.133039.g6f3b5c6-1.el9 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-243.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.20260524.213755.g3c6d0be.main-1.el9.noarch |
| mock-config | fedora-rawhide-x86_64 |
| project-name | unbound-1.25.1-1.fc45 |
| store-results-to | /tmp/tmpy14bgcz3/unbound-1.25.1-1.fc45.tar.xz |
| time-created | 2026-06-01 17:08:03 |
| time-finished | 2026-06-01 17:11:01 |
| title | Newly introduced findings |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'shellcheck,cppcheck,clippy,unicontrol,gcc' '-o' '/tmp/tmpy14bgcz3/unbound-1.25.1-1.fc45.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpy14bgcz3/unbound-1.25.1-1.fc45.src.rpm' |
| tool-version | csmock-3.8.5.20260529.133039.g6f3b5c6-1.el9 |