Task #1581 - libmaxminddb-1.9.1-2.fc40/scan-results.err
back to task #1581download
Error: CPPCHECK_WARNING: libmaxminddb-1.9.1-build/libmaxminddb-1.9.1/bin/mmdblookup.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: libmaxminddb-1.9.1-build/libmaxminddb-1.9.1/src/data-pool.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: COMPILER_WARNING (CWE-1164): libmaxminddb-1.9.1-build/libmaxminddb-1.9.1/src/maxminddb-compat-util.h:46:1: warning[-Wunused-function]: 'mmdb_memmem' defined but not used # 46 | mmdb_memmem(const void *l, size_t l_len, const void *s, size_t s_len) { # | ^~~~~~~~~~~ # 44| */ # 45| static const void * # 46|-> mmdb_memmem(const void *l, size_t l_len, const void *s, size_t s_len) { # 47| const char *cur, *last; # 48| const char *cl = (const char *)l; Error: COMPILER_WARNING (CWE-1164): libmaxminddb-1.9.1-build/libmaxminddb-1.9.1/t/maxminddb_test_helper.h:12: included_from: Included from here. libmaxminddb-1.9.1-build/libmaxminddb-1.9.1/t/maxminddb_test_helper.c:1: included_from: Included from here. libmaxminddb-1.9.1-build/libmaxminddb-1.9.1/src/maxminddb-compat-util.h:138:14: warning[-Wunused-function]: 'mmdb_strdup' defined but not used # 138 | static char *mmdb_strdup(const char *str) { # | ^~~~~~~~~~~ # 136| * SUCH DAMAGE. # 137| */ # 138|-> static char *mmdb_strdup(const char *str) { # 139| size_t len; # 140| char *copy; Error: CPPCHECK_WARNING: libmaxminddb-1.9.1-build/libmaxminddb-1.9.1/src/maxminddb.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: GCC_ANALYZER_WARNING (CWE-404): libmaxminddb-1.9.1-build/libmaxminddb-1.9.1/t/libtap/tap.c: scope_hint: In function ‘bail_out’ libmaxminddb-1.9.1-build/libmaxminddb-1.9.1/t/libtap/tap.c:284:1: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’ # 282| exit(255); # 283| return 0; # 284|-> } # 285| # 286| void Error: CPPCHECK_WARNING: libmaxminddb-1.9.1-build/libmaxminddb-1.9.1/t/maxminddb_test_helper.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: libmaxminddb-1.9.1-build/libmaxminddb-1.9.1/t/maxminddb_test_helper.c:113:16: warning[core.NullDereference]: Access to field 'file_size' results in a dereference of a null pointer (loaded from variable 'mmdb') # 111| } # 112| # 113|-> is_ok = ok(mmdb->file_size > 0, # 114| "mmdb struct has been set for %s - %s", # 115| db_file,