nghttp2-1.61.0-1.fc41

List of Defects

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;

Scan Properties

analyzer-version-clang18.1.3
analyzer-version-cppcheck2.13.0
analyzer-version-gcc14.0.1
analyzer-version-gcc-analyzer14.0.1
analyzer-version-shellcheck0.10.0
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-166.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namenghttp2-1.61.0-1.fc41
store-results-to/tmp/tmpqtp53td_/nghttp2-1.61.0-1.fc41.tar.xz
time-created2024-04-22 11:08:13
time-finished2024-04-22 11:12:42
toolcsmock
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-versioncsmock-3.5.3-1.el9