Task #128 - nghttp2-1.61.0-1.fc41/scan-results.err

back to task #128
download
Error: CLANG_WARNING:
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:
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:
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):
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;