Task #177 - nghttp2-1.59.0-2.fc40/scan-results.err
back to task #177download
Error: CLANG_WARNING: nghttp2-1.59.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.59.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.59.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.59.0/src/shrpx_config.h:569: error[selfInitialization]: Member variable 'hash < nghttp2 :: StringRef >' is initialized by itself. # 567| // DownstreamAddrGroupConfig::addrs. # 568| struct AffinityHash { # 569|-> AffinityHash(size_t idx, uint32_t hash) : idx(idx), hash(hash) {} # 570| # 571| size_t idx; Error: COMPILER_WARNING (CWE-477): nghttp2-1.59.0/src/shrpx_dns_resolver.cc: scope_hint: In member function ‘int shrpx::DNSResolver::resolve(const nghttp2::StringRef&, int)’ nghttp2-1.59.0/src/shrpx_dns_resolver.cc:176:21: warning[-Wdeprecated-declarations]: ‘void ares_gethostbyname(ares_channel_t*, const char*, int, ares_host_callback, void*)’ is deprecated: Use ares_getaddrinfo instead # 176 | ares_gethostbyname(channel_, name_.c_str(), family_, host_cb, this); # | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nghttp2-1.59.0/src/shrpx_dns_resolver.h:36: included_from: Included from here. nghttp2-1.59.0/src/shrpx_dns_resolver.cc:25: included_from: Included from here. /usr/include/ares.h:592:58: note: declared here # 592 | CARES_EXTERN CARES_DEPRECATED_FOR(ares_getaddrinfo) void ares_gethostbyname( # | ^~~~~~~~~~~~~~~~~~ # 174| status_ = DNSResolverStatus::RUNNING; # 175| # 176|-> ares_gethostbyname(channel_, name_.c_str(), family_, host_cb, this); # 177| reset_timeout(); # 178|