Task #338 - annobin-12.42-1.fc40/scan-results.err
back to task #338download
Error: CPPCHECK_WARNING: annobin-12.42-build/annobin-12.42/annocheck/annocheck.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: annobin-12.42-build/annobin-12.42/annocheck/annocheck.c:815:7: warning[unix.Malloc]: Potential leak of memory pointed to by 'canon_dir' # 813| if (debug_dir) # 814| { # 815|-> TRY_DEBUG ("%s/%s", debug_dir, link); # 816| # 817| /* Then try the usual sub-directories of that directory. */ Error: CLANG_WARNING: annobin-12.42-build/annobin-12.42/annocheck/annocheck.c:843:3: warning[unix.Malloc]: Potential leak of memory pointed to by 'canon_dir' # 841| # 842| /* Next try in the current directory. */ # 843|-> TRY_DEBUG ("./%s", link); # 844| # 845| /* Then try in a subdirectory called .debug. */ Error: GCC_ANALYZER_WARNING (CWE-476): annobin-12.42-build/annobin-12.42/annocheck/annocheck.h:21: included_from: Included from here. annobin-12.42-build/annobin-12.42/annocheck/annocheck.c:16: included_from: Included from here. annobin-12.42-build/annobin-12.42/annocheck/annocheck.c: scope_hint: In function ‘process_command_line’ annobin-12.42-build/annobin-12.42/annocheck/annocheck.c:2511:33: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘tmpdir’ # 2509| # 2510| tmpdir = strdup (parameter); # 2511|-> assert (tmpdir[0] == '/'); # 2512| } # 2513| else Error: CPPCHECK_WARNING: annobin-12.42-build/annobin-12.42/annocheck/built-by.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: annobin-12.42-build/annobin-12.42/annocheck/hardened.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: annobin-12.42-build/annobin-12.42/annocheck/libiberty/cp-demangle.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING (CWE-562): annobin-12.42-build/annobin-12.42/annocheck/libiberty/cp-demangle.c:5133: error[autoVariables]: Address of local auto-variable assigned to a function parameter. # 5131| # 5132| adpm[i].next = dpi->modifiers; # 5133|-> dpi->modifiers = &adpm[i]; # 5134| adpm[i].mod = typed_name; # 5135| adpm[i].printed = 0; Error: CPPCHECK_WARNING (CWE-562): annobin-12.42-build/annobin-12.42/annocheck/libiberty/cp-demangle.c:5171: error[autoVariables]: Address of local auto-variable assigned to a function parameter. # 5169| adpm[i] = adpm[i - 1]; # 5170| adpm[i].next = &adpm[i - 1]; # 5171|-> dpi->modifiers = &adpm[i]; # 5172| # 5173| adpm[i - 1].mod = typed_name; Error: CPPCHECK_WARNING (CWE-562): annobin-12.42-build/annobin-12.42/annocheck/libiberty/cp-demangle.c:5192: error[autoVariables]: Address of local auto-variable assigned to a function parameter. # 5190| { # 5191| dpt.next = dpi->templates; # 5192|-> dpi->templates = &dpt; # 5193| dpt.template_decl = typed_name; # 5194| } Error: CLANG_WARNING: annobin-12.42-build/annobin-12.42/annocheck/libiberty/cp-demangle.c:5199:19: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined # 5197| # 5198| if (typed_name->type == DEMANGLE_COMPONENT_TEMPLATE) # 5199|-> dpi->templates = dpt.next; # 5200| # 5201| /* If the modifiers didn't get printed by the type, print them Error: CPPCHECK_WARNING (CWE-562): annobin-12.42-build/annobin-12.42/annocheck/libiberty/cp-demangle.c:5651: error[autoVariables]: Address of local auto-variable assigned to a function parameter. # 5649| # 5650| adpm[0].next = hold_modifiers; # 5651|-> dpi->modifiers = &adpm[0]; # 5652| adpm[0].mod = dc; # 5653| adpm[0].printed = 0; Error: CPPCHECK_WARNING: annobin-12.42-build/annobin-12.42/annocheck/libiberty/d-demangle.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: annobin-12.42-build/annobin-12.42/annocheck/libiberty/rust-demangle.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: annobin-12.42-build/annobin-12.42/annocheck/notes.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: annobin-12.42-build/annobin-12.42/annocheck/size.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.