Task #435 - gc-8.2.6-1.fc41/scan-results.err
back to task #435download
Error: CPPCHECK_WARNING: gc-8.2.6-build/gc-8.2.6/cord/cordbscs.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gc-8.2.6-build/gc-8.2.6/cord/cordprnt.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: gc-8.2.6-build/gc-8.2.6/cord/cordxtra.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: GCC_ANALYZER_WARNING (CWE-457): gc-8.2.6-build/gc-8.2.6/cord/cordxtra.c: scope_hint: In function 'CORD_ec_flush_buf' gc-8.2.6-build/gc-8.2.6/cord/cordxtra.c:444:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '&*x.ec_buf' gc-8.2.6-build/gc-8.2.6/cord/cordxtra.c:39: included_from: Included from here. gc-8.2.6-build/gc-8.2.6/cord/cordxtra.c:442:17: note: in expansion of macro 'GC_MALLOC_ATOMIC' # 442| s = (char *)GC_MALLOC_ATOMIC(len + 1); # 443| if (NULL == s) OUT_OF_MEMORY; # 444|-> memcpy(s, x[0].ec_buf, len); # 445| s[len] = '\0'; # 446| x[0].ec_cord = CORD_cat_char_star(x[0].ec_cord, s, len); Error: GCC_ANALYZER_WARNING (CWE-775): gc-8.2.6-build/gc-8.2.6/extra/gc.c:63: included_from: Included from here. gc-8.2.6-build/gc-8.2.6/os_dep.c: scope_hint: In function 'GC_linux_main_stack_base' gc-8.2.6-build/gc-8.2.6/os_dep.c:110:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open("/proc/self/stat", 0)' gc-8.2.6-build/gc-8.2.6/os_dep.c:123:26: note: in expansion of macro 'PROC_READ' gc-8.2.6-build/gc-8.2.6/extra/gc.c:62: included_from: Included from here. gc-8.2.6-build/gc-8.2.6/extra/gc.c:51: included_from: Included from here. gc-8.2.6-build/gc-8.2.6/include/private/dbg_mlc.h:28: included_from: Included from here. gc-8.2.6-build/gc-8.2.6/backgraph.c:15: included_from: Included from here. gc-8.2.6-build/gc-8.2.6/extra/gc.c:40: included_from: Included from here. gc-8.2.6-build/gc-8.2.6/misc.c:1204:7: note: in expansion of macro 'GET_TIME' gc-8.2.6-build/gc-8.2.6/extra/gc.c:58: included_from: Included from here. gc-8.2.6-build/gc-8.2.6/os_dep.c:123:26: note: in expansion of macro 'PROC_READ' gc-8.2.6-build/gc-8.2.6/os_dep.c:123:26: note: in expansion of macro 'PROC_READ' # 108| || defined(PROC_VDB) || defined(SOFT_VDB)) && !defined(PROC_READ)) \ # 109| || defined(CPPCHECK) # 110|-> # define PROC_READ read # 111| /* Should probably call the real read, if read is wrapped. */ # 112| #endif Error: GCC_ANALYZER_WARNING (CWE-476): gc-8.2.6-build/gc-8.2.6/extra/gc.c:76: included_from: Included from here. gc-8.2.6-build/gc-8.2.6/pthread_support.c: scope_hint: In function 'GC_check_finalizer_nested' gc-8.2.6-build/gc-8.2.6/pthread_support.c:745:23: warning[-Wanalyzer-null-dereference]: dereference of NULL '0' gc-8.2.6-build/gc-8.2.6/alloc.c:1290:5: note: in expansion of macro 'GC_INVOKE_FINALIZERS' gc-8.2.6-build/gc-8.2.6/extra/gc.c:53: included_from: Included from here. gc-8.2.6-build/gc-8.2.6/include/private/gc_priv.h:291: included_from: Included from here. gc-8.2.6-build/gc-8.2.6/finalize.c:1296:5: note: in expansion of macro 'LOCK' # 743| if (EXPECT(NULL == me, FALSE)) return NULL; # 744| # endif # 745|-> nesting_level = me->finalizer_nested; # 746| if (nesting_level) { # 747| /* We are inside another GC_invoke_finalizers(). */