Error: CLANG_WARNING: [#def1] nghttp2-1.61.0/lib/nghttp2_buf.c:389:26: warning[core.NullDereference]: Dereference of null pointer # 387| } # 388| # 389|-> *bufs->cur->buf.last++ = b; # 390| # 391| return 0; Error: CLANG_WARNING: [#def2] nghttp2-1.61.0/lib/nghttp2_buf.c:402:24: warning[core.NullDereference]: Dereference of null pointer (loaded from field 'last') # 400| } # 401| # 402|-> *bufs->cur->buf.last = b; # 403| # 404| return 0; Error: CLANG_WARNING: [#def3] nghttp2-1.61.0/lib/nghttp2_buf.c:415:26: warning[core.NullDereference]: Dereference of null pointer # 413| } # 414| # 415|-> *bufs->cur->buf.last++ |= b; # 416| # 417| return 0; Error: CPPCHECK_WARNING (CWE-665): [#def4] nghttp2-1.61.0/src/shrpx_config.h:575: error[selfInitialization]: Member variable 'hash < nghttp2 :: StringRef >' is initialized by itself. # 573| // DownstreamAddrGroupConfig::addrs. # 574| struct AffinityHash { # 575|-> AffinityHash(size_t idx, uint32_t hash) : idx(idx), hash(hash) {} # 576| # 577| size_t idx;
analyzer-version-clang | 18.1.3 |
analyzer-version-cppcheck | 2.13.0 |
analyzer-version-gcc | 14.0.1 |
analyzer-version-gcc-analyzer | 14.0.1 |
analyzer-version-shellcheck | 0.10.0 |
enabled-plugins | clang, cppcheck, gcc, shellcheck |
exit-code | 0 |
host | ip-172-16-1-166.us-west-2.compute.internal |
mock-config | fedora-41-x86_64 |
project-name | nghttp2-1.61.0-1.fc41 |
store-results-to | /tmp/tmpqtp53td_/nghttp2-1.61.0-1.fc41.tar.xz |
time-created | 2024-04-22 11:08:13 |
time-finished | 2024-04-22 11:12:42 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpqtp53td_/nghttp2-1.61.0-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpqtp53td_/nghttp2-1.61.0-1.fc41.src.rpm' |
tool-version | csmock-3.5.3-1.el9 |