Error: GCC_ANALYZER_WARNING (CWE-476): [#def1] unbound-1.22.0-build/unbound-1.22.0/libunbound/python/libunbound_wrap.c: scope_hint: In function '_wrap_ub_server_stats_mem_quic_get' unbound-1.22.0-build/unbound-1.22.0/libunbound/python/libunbound_wrap.c:10989:10: warning[-Wanalyzer-null-dereference]: dereference of NULL 'arg1' unbound-1.22.0-build/unbound-1.22.0/libunbound/python/libunbound_wrap.c:1170:57: note: in expansion of macro 'SWIG_Python_ConvertPtr' unbound-1.22.0-build/unbound-1.22.0/libunbound/python/libunbound_wrap.c:10984:10: note: in expansion of macro 'SWIG_ConvertPtr' unbound-1.22.0-build/unbound-1.22.0/libunbound/python/libunbound_wrap.c:1170:57: note: in expansion of macro 'SWIG_Python_ConvertPtr' unbound-1.22.0-build/unbound-1.22.0/libunbound/python/libunbound_wrap.c:10984:10: note: in expansion of macro 'SWIG_ConvertPtr' unbound-1.22.0-build/unbound-1.22.0/libunbound/python/libunbound_wrap.c:1170:57: note: in expansion of macro 'SWIG_Python_ConvertPtr' unbound-1.22.0-build/unbound-1.22.0/libunbound/python/libunbound_wrap.c:10984:10: note: in expansion of macro 'SWIG_ConvertPtr' #10987| } #10988| arg1 = (struct ub_server_stats *)(argp1); #10989|-> result = (long long) ((arg1)->mem_quic); #10990| resultobj = SWIG_From_long_SS_long((long long)(result)); #10991| return resultobj; Error: GCC_ANALYZER_WARNING (CWE-476): [#def2] unbound-1.22.0-build/unbound-1.22.0/libunbound/python/libunbound_wrap.c: scope_hint: In function '_wrap_ub_server_stats_qquic_get' unbound-1.22.0-build/unbound-1.22.0/libunbound/python/libunbound_wrap.c:11043:10: warning[-Wanalyzer-null-dereference]: dereference of NULL 'arg1' unbound-1.22.0-build/unbound-1.22.0/libunbound/python/libunbound_wrap.c:1170:57: note: in expansion of macro 'SWIG_Python_ConvertPtr' unbound-1.22.0-build/unbound-1.22.0/libunbound/python/libunbound_wrap.c:11038:10: note: in expansion of macro 'SWIG_ConvertPtr' unbound-1.22.0-build/unbound-1.22.0/libunbound/python/libunbound_wrap.c:1170:57: note: in expansion of macro 'SWIG_Python_ConvertPtr' unbound-1.22.0-build/unbound-1.22.0/libunbound/python/libunbound_wrap.c:11038:10: note: in expansion of macro 'SWIG_ConvertPtr' unbound-1.22.0-build/unbound-1.22.0/libunbound/python/libunbound_wrap.c:1170:57: note: in expansion of macro 'SWIG_Python_ConvertPtr' unbound-1.22.0-build/unbound-1.22.0/libunbound/python/libunbound_wrap.c:11038:10: note: in expansion of macro 'SWIG_ConvertPtr' #11041| } #11042| arg1 = (struct ub_server_stats *)(argp1); #11043|-> result = (long long) ((arg1)->qquic); #11044| resultobj = SWIG_From_long_SS_long((long long)(result)); #11045| return resultobj;
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 |
diffbase-analyzer-version-clippy | 1.82.0 |
diffbase-analyzer-version-cppcheck | 2.16.0 |
diffbase-analyzer-version-gcc | 14.2.1 |
diffbase-analyzer-version-gcc-analyzer | 15.0.0 |
diffbase-analyzer-version-shellcheck | 0.10.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-40.us-west-2.compute.internal |
diffbase-mock-config | fedora-rawhide-gcc-latest-x86_64 |
diffbase-project-name | unbound-1.21.1-1.fc41 |
diffbase-store-results-to | /tmp/tmpsmxfvhwh/unbound-1.21.1-1.fc41.tar.xz |
diffbase-time-created | 2024-11-13 03:22:57 |
diffbase-time-finished | 2024-11-13 03:26:37 |
diffbase-tool | csmock |
diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpsmxfvhwh/unbound-1.21.1-1.fc41.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpsmxfvhwh/unbound-1.21.1-1.fc41.src.rpm' |
diffbase-tool-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-40.us-west-2.compute.internal |
mock-config | fedora-rawhide-gcc-latest-x86_64 |
project-name | unbound-1.22.0-1.fc42 |
store-results-to | /tmp/tmpewm5a7d2/unbound-1.22.0-1.fc42.tar.xz |
time-created | 2024-11-13 03:27:03 |
time-finished | 2024-11-13 03:30:25 |
title | Newly introduced findings |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpewm5a7d2/unbound-1.22.0-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpewm5a7d2/unbound-1.22.0-1.fc42.src.rpm' |
tool-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |