Task #18420 - conmon-rs-0.6.6-1.20241021135040207972.pr2070.64.g944e7098/scan-results.err
back to task #18420download
Error: CPPCHECK_WARNING (CWE-562): conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/deps/pcre/pcre_compile.c:8382: error[autoVariables]: Address of local auto-variable assigned to a function parameter. # 8380| capitem.next = cd->open_caps; # 8381| capitem.flag = FALSE; # 8382|-> cd->open_caps = &capitem; # 8383| } # 8384| Error: COMPILER_WARNING: conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/deps/pcre/pcre_compile.c: scope_hint: In function ‘compile_regex’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/deps/pcre/pcre_compile.c:8382:17: warning[-Wdangling-pointer=]: storing the address of local variable ‘capitem’ in ‘cd_164(D)->open_caps’ # 8382 | cd->open_caps = &capitem; # | ~~~~~~~~~~~~~~^~~~~~~~~~ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/deps/pcre/pcre_compile.c:8326:14: note: ‘capitem’ declared here # 8326 | open_capitem capitem; # | ^~~~~~~ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/deps/pcre/pcre_compile.c:8319:38: note: ‘cd’ declared here # 8319 | branch_chain *bcptr, compile_data *cd, int *lengthptr) # | ~~~~~~~~~~~~~~^~ # 8380| capitem.next = cd->open_caps; # 8381| capitem.flag = FALSE; # 8382|-> cd->open_caps = &capitem; # 8383| } # 8384| Error: GCC_ANALYZER_WARNING (CWE-457): conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/deps/pcre/pcre_exec.c: scope_hint: In function ‘match’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/deps/pcre/pcre_exec.c:1419:41: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘condcode’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/deps/pcre/pcre_exec.c:780:5: note: in expansion of macro ‘RRETURN’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/deps/pcre/pcre_exec.c:1419:5: note: in expansion of macro ‘ecode’ # 1417| /* Choose branch according to the condition */ # 1418| # 1419|-> ecode += condition? PRIV(OP_lengths)[condcode] : codelink; # 1420| # 1421| /* We are now at the branch that is to be obeyed. As there is only one, we Error: GCC_ANALYZER_WARNING (CWE-476): conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/deps/pcre/pcre_exec.c:1921:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘frame_zero.Xeptrb’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/deps/pcre/pcre_exec.c:725:5: note: in expansion of macro ‘rdepth’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/deps/pcre/pcre_exec.c:1921:20: note: in expansion of macro ‘eptrb’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/deps/pcre/pcre_exec.c:1921:20: note: in expansion of macro ‘eptrb’ # 1919| if (*prev >= OP_SBRA || *prev == OP_ONCE) # 1920| { # 1921|-> saved_eptr = eptrb->epb_saved_eptr; /* Value at start of group */ # 1922| eptrb = eptrb->epb_prev; /* Backup to previous group */ # 1923| } Error: GCC_ANALYZER_WARNING (CWE-457): conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/deps/pcre/pcre_exec.c:2819:24: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘caseless’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/deps/pcre/pcre_exec.c:780:5: note: in expansion of macro ‘RRETURN’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/deps/pcre/pcre_exec.c:2818:13: note: in expansion of macro ‘fi’ # 2817| if (rrc != MATCH_NOMATCH) RRETURN(rrc); # 2818| if (fi >= max) RRETURN(MATCH_NOMATCH); # 2819|-> if ((slength = match_ref(offset, eptr, length, md, caseless)) < 0) # 2820| { # 2821| if (slength == -2) eptr = md->end_subject; /* Partial match */ Error: GCC_ANALYZER_WARNING (CWE-476): conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/deps/pcre/pcreposix.c: scope_hint: In function ‘pcre_regexec’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/deps/pcre/pcreposix.c:380:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ovector’ # 378| for (i = 0; i < (size_t)rc; i++) # 379| { # 380|-> pmatch[i].rm_so = (ovector[i*2] < 0)? -1 : ovector[i*2] + so; # 381| pmatch[i].rm_eo = (ovector[i*2+1] < 0)? -1: ovector[i*2+1] + so; # 382| } Error: GCC_ANALYZER_WARNING (CWE-476): conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/attr_file.c: scope_hint: In function ‘git_attr_file__lookup_one’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/attr_file.c:428:79: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/attr_file.h:14: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/attr_file.c:8: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/attr_file.h:197:9: note: in expansion of macro ‘git_vector_rforeach’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/attr_file.c:423:9: note: in expansion of macro ‘git_attr_file__foreach_matching_rule’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/attr_file.h:197:9: note: in expansion of macro ‘git_vector_rforeach’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/attr_file.c:423:9: note: in expansion of macro ‘git_attr_file__foreach_matching_rule’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/attr_file.c: scope_hint: In function ‘git_attr_file__lookup_one’ # 426| if (!git_vector_bsearch(&pos, &rule->assigns, &name)) { # 427| *value = ((git_attr_assignment *) # 428|-> git_vector_get(&rule->assigns, pos))->value; # 429| break; # 430| } Error: GCC_ANALYZER_WARNING (CWE-476): conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/commit_graph.c: scope_hint: In function ‘compute_generation_numbers’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/commit_graph.c:916:57: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/commit_graph.c: scope_hint: In function ‘compute_generation_numbers’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/commit_graph.c:915:9: note: in expansion of macro ‘git_vector_foreach’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/commit_graph.c:10: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/commit_graph.c:916:28: note: in expansion of macro ‘git_array_alloc’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/commit_graph.c:916:28: note: in expansion of macro ‘git_array_alloc’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/commit_graph.c:916:28: note: in expansion of macro ‘git_array_alloc’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/commit_graph.c:916:28: note: in expansion of macro ‘git_array_alloc’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/commit_graph.c:916:28: note: in expansion of macro ‘git_array_alloc’ # 914| */ # 915| git_vector_foreach (commits, i, child_packed_commit) # 916|-> *(size_t *)git_array_alloc(index_stack) = i; # 917| # 918| while (git_array_size(index_stack)) { Error: GCC_ANALYZER_WARNING (CWE-476): conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/commit_graph.c:929:57: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/commit_graph.c: scope_hint: In function ‘compute_generation_numbers’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/commit_graph.c:918:16: note: in expansion of macro ‘git_array_size’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/commit_graph.c:919:37: note: in expansion of macro ‘git_array_pop’ # 927| if (commit_states[i] == GENERATION_NUMBER_COMMIT_STATE_EXPANDED) { # 928| /* All of the commits parents have been visited. */ # 929|-> child_packed_commit->generation = 0; # 930| git_array_foreach (child_packed_commit->parent_indices, j, parent_idx) { # 931| struct packed_commit *parent = git_vector_get(commits, *parent_idx); Error: GCC_ANALYZER_WARNING (CWE-476): conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/commit_graph.c:932:77: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/commit_graph.c: scope_hint: In function ‘compute_generation_numbers’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/commit_graph.c:918:16: note: in expansion of macro ‘git_array_size’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/commit_graph.c:919:37: note: in expansion of macro ‘git_array_pop’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/commit_graph.c:930:25: note: in expansion of macro ‘git_array_foreach’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/commit_graph.c: scope_hint: In function ‘compute_generation_numbers’ # 930| git_array_foreach (child_packed_commit->parent_indices, j, parent_idx) { # 931| struct packed_commit *parent = git_vector_get(commits, *parent_idx); # 932|-> if (child_packed_commit->generation < parent->generation) # 933| child_packed_commit->generation = parent->generation; # 934| } Error: GCC_ANALYZER_WARNING (CWE-476): conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/commit_graph.c:955:57: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/commit_graph.c: scope_hint: In function ‘compute_generation_numbers’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/commit_graph.c:918:16: note: in expansion of macro ‘git_array_size’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/commit_graph.c:919:37: note: in expansion of macro ‘git_array_pop’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/commit_graph.c:948:21: note: in expansion of macro ‘git_array_size’ # 953| */ # 954| commit_states[i] = GENERATION_NUMBER_COMMIT_STATE_VISITED; # 955|-> child_packed_commit->generation = 1; # 956| continue; # 957| } Error: GCC_ANALYZER_WARNING (CWE-476): conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/commit_graph.c:963:57: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/commit_graph.c: scope_hint: In function ‘compute_generation_numbers’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/commit_graph.c:918:16: note: in expansion of macro ‘git_array_size’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/commit_graph.c:919:37: note: in expansion of macro ‘git_array_pop’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/commit_graph.c:948:21: note: in expansion of macro ‘git_array_size’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/commit_graph.c:963:28: note: in expansion of macro ‘git_array_alloc’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/commit_graph.c:963:28: note: in expansion of macro ‘git_array_alloc’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/commit_graph.c:963:28: note: in expansion of macro ‘git_array_alloc’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/commit_graph.c:963:28: note: in expansion of macro ‘git_array_alloc’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/commit_graph.c:963:28: note: in expansion of macro ‘git_array_alloc’ # 961| * again once all its children have been visited. # 962| */ # 963|-> *(size_t *)git_array_alloc(index_stack) = i; # 964| git_array_foreach (child_packed_commit->parent_indices, j, parent_idx) { # 965| if (commit_states[*parent_idx] Error: GCC_ANALYZER_WARNING (CWE-476): conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/commit_graph.c:972:65: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/commit_graph.c: scope_hint: In function ‘compute_generation_numbers’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/commit_graph.c:918:16: note: in expansion of macro ‘git_array_size’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/commit_graph.c:919:37: note: in expansion of macro ‘git_array_pop’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/commit_graph.c:948:21: note: in expansion of macro ‘git_array_size’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/commit_graph.c:963:28: note: in expansion of macro ‘git_array_alloc’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/commit_graph.c:964:17: note: in expansion of macro ‘git_array_foreach’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/commit_graph.c:972:36: note: in expansion of macro ‘git_array_alloc’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/commit_graph.c:972:36: note: in expansion of macro ‘git_array_alloc’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/commit_graph.c:972:36: note: in expansion of macro ‘git_array_alloc’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/commit_graph.c:972:36: note: in expansion of macro ‘git_array_alloc’ # 970| # 971| commit_states[*parent_idx] = GENERATION_NUMBER_COMMIT_STATE_ADDED; # 972|-> *(size_t *)git_array_alloc(index_stack) = *parent_idx; # 973| } # 974| commit_states[i] = GENERATION_NUMBER_COMMIT_STATE_EXPANDED; Error: GCC_ANALYZER_WARNING (CWE-476): conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/describe.c: scope_hint: In function ‘describe’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/describe.c:524:43: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/common.h:10: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/describe.c:8: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/describe.c:502:33: note: in expansion of macro ‘GIT_ERROR_CHECK_ALLOC’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/describe.c: scope_hint: In function ‘describe’ # 522| for (cur_match = 0; cur_match < match_cnt; cur_match++) { # 523| struct possible_tag *t = git_vector_get(&all_matches, cur_match); # 524|-> if (!(c->flags & t->flag_within)) # 525| t->depth++; # 526| } Error: GCC_ANALYZER_WARNING (CWE-476): conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/diff_driver.c: scope_hint: In function ‘diff_context_line__pattern_match’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/diff_driver.c:458:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/repository.h:19: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/ignore.h:12: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/iterator.h:15: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/diff.h:18: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/diff_driver.c:13: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/diff_driver.c:455:48: note: in expansion of macro ‘git_array_get’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/diff_driver.c:455:48: note: in expansion of macro ‘git_array_get’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/diff_driver.c:455:48: note: in expansion of macro ‘git_array_get’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/diff_driver.c:455:48: note: in expansion of macro ‘git_array_get’ # 456| # 457| if (!git_regexp_search(&pat->re, line->ptr, 2, pmatch)) { # 458|-> if (pat->flags & REG_NEGATE) # 459| return false; # 460| Error: GCC_ANALYZER_WARNING (CWE-476): conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/git2_util.h:105: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/common.h:10: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/filter.h:10: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/filter.c:8: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/filter.c: scope_hint: In function ‘setup_stream’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/filter.c:1040:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘fe’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:52:23: note: in definition of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:32:27: note: in expansion of macro ‘GIT_ASSERT_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/filter.c:1040:9: note: in expansion of macro ‘GIT_ASSERT’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/repository.h:19: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/filter.c:14: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/filter.c:1081:40: note: in expansion of macro ‘git_array_get’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:52:23: note: in definition of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:32:27: note: in expansion of macro ‘GIT_ASSERT_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/filter.c:1040:9: note: in expansion of macro ‘GIT_ASSERT’ # 1038| { # 1039| #ifndef GIT_DEPRECATE_HARD # 1040|-> GIT_ASSERT(fe->filter->stream || fe->filter->apply); # 1041| # 1042| /* Error: GCC_ANALYZER_WARNING (CWE-476): conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/filter.c: scope_hint: In function ‘git_filter_list_stream_file’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/filter.c:1140:42: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘stream_start’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/filter.c: scope_hint: In function ‘git_filter_list_stream_file’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/filter.c:1081:40: note: in expansion of macro ‘git_array_get’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/filter.c:1081:40: note: in expansion of macro ‘git_array_get’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/filter.c: scope_hint: In function ‘git_filter_list_stream_file’ # 1138| # 1139| while ((readlen = p_read(fd, buf, sizeof(buf))) > 0) { # 1140|-> if ((error = stream_start->write(stream_start, buf, readlen)) < 0) # 1141| goto done; # 1142| } Error: GCC_ANALYZER_WARNING (CWE-476): conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/filter.c:1149:38: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘stream_start’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/filter.c: scope_hint: In function ‘git_filter_list_stream_file’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/filter.c:1081:40: note: in expansion of macro ‘git_array_get’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/filter.c:1081:40: note: in expansion of macro ‘git_array_get’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/filter.c: scope_hint: In function ‘git_filter_list_stream_file’ # 1147| done: # 1148| if (initialized) # 1149|-> error |= stream_start->close(stream_start); # 1150| # 1151| if (fd >= 0) Error: GCC_ANALYZER_WARNING (CWE-476): conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/filter.c: scope_hint: In function ‘git_filter_list_stream_buffer’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/filter.c:1172:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘stream_start’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/filter.c: scope_hint: In function ‘git_filter_list_stream_buffer’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/filter.c:1081:40: note: in expansion of macro ‘git_array_get’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/filter.c:1081:40: note: in expansion of macro ‘git_array_get’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/filter.c: scope_hint: In function ‘git_filter_list_stream_buffer’ # 1170| initialized = 1; # 1171| # 1172|-> if ((error = stream_start->write(stream_start, buffer, len)) < 0) # 1173| goto out; # 1174| Error: GCC_ANALYZER_WARNING (CWE-476): conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c: scope_hint: In function ‘index_insert’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1397:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘entry’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/git2_util.h:105: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/common.h:10: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.h:10: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:8: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:3752:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c: scope_hint: In function ‘index_insert’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1603:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1604:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1604:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/git2_util.h:103: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/util.h:188:31: note: in expansion of macro ‘git_atomic_load’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:48:46: note: in expansion of macro ‘GIT_REFCOUNT_OWNER’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1017:16: note: in expansion of macro ‘INDEX_OWNER’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c: scope_hint: In function ‘index_insert’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/util.h:188:31: note: in expansion of macro ‘git_atomic_load’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:48:46: note: in expansion of macro ‘GIT_REFCOUNT_OWNER’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1030:40: note: in expansion of macro ‘INDEX_OWNER’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c: scope_hint: In function ‘index_insert’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/git2_util.h:104: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/git2_util.h:138:10: note: in expansion of macro ‘git__add_sizet_overflow’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/git2_util.h:146:13: note: in expansion of macro ‘GIT_ADD_SIZET_OVERFLOW’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:982:9: note: in expansion of macro ‘GIT_ERROR_CHECK_ALLOC_ADD’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/git2_util.h:146:13: note: in expansion of macro ‘GIT_ADD_SIZET_OVERFLOW’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:982:9: note: in expansion of macro ‘GIT_ERROR_CHECK_ALLOC_ADD’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/git2_util.h:138:10: note: in expansion of macro ‘git__add_sizet_overflow’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/git2_util.h:146:13: note: in expansion of macro ‘GIT_ADD_SIZET_OVERFLOW’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:983:9: note: in expansion of macro ‘GIT_ERROR_CHECK_ALLOC_ADD’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/git2_util.h:146:13: note: in expansion of macro ‘GIT_ADD_SIZET_OVERFLOW’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:983:9: note: in expansion of macro ‘GIT_ERROR_CHECK_ALLOC_ADD’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:985:9: note: in expansion of macro ‘GIT_ERROR_CHECK_ALLOC’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/util.h:188:31: note: in expansion of macro ‘git_atomic_load’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:48:46: note: in expansion of macro ‘GIT_REFCOUNT_OWNER’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1035:28: note: in expansion of macro ‘INDEX_OWNER’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c: scope_hint: In function ‘index_insert’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1391:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1392:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1392:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1391:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1392:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1392:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ # 1395| # 1396| /* Make sure that the path length flag is correct */ # 1397|-> path_length = ((struct entry_internal *)entry)->pathlen; # 1398| index_entry_adjust_namemask(entry, path_length); # 1399| Error: GCC_ANALYZER_WARNING (CWE-476): conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c: scope_hint: In function ‘git_index_add_from_buffer’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1551:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘entry’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1517:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1518:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1518:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/util.h:188:31: note: in expansion of macro ‘git_atomic_load’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:48:46: note: in expansion of macro ‘GIT_REFCOUNT_OWNER’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1520:13: note: in expansion of macro ‘INDEX_OWNER’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c: scope_hint: In function ‘git_index_add_from_buffer’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/git2_util.h:138:10: note: in expansion of macro ‘git__add_sizet_overflow’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/git2_util.h:146:13: note: in expansion of macro ‘GIT_ADD_SIZET_OVERFLOW’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:982:9: note: in expansion of macro ‘GIT_ERROR_CHECK_ALLOC_ADD’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/git2_util.h:146:13: note: in expansion of macro ‘GIT_ADD_SIZET_OVERFLOW’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:982:9: note: in expansion of macro ‘GIT_ERROR_CHECK_ALLOC_ADD’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/git2_util.h:138:10: note: in expansion of macro ‘git__add_sizet_overflow’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/git2_util.h:146:13: note: in expansion of macro ‘GIT_ADD_SIZET_OVERFLOW’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:983:9: note: in expansion of macro ‘GIT_ERROR_CHECK_ALLOC_ADD’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/git2_util.h:146:13: note: in expansion of macro ‘GIT_ADD_SIZET_OVERFLOW’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:983:9: note: in expansion of macro ‘GIT_ERROR_CHECK_ALLOC_ADD’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:985:9: note: in expansion of macro ‘GIT_ERROR_CHECK_ALLOC’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/util.h:188:31: note: in expansion of macro ‘git_atomic_load’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:48:46: note: in expansion of macro ‘GIT_REFCOUNT_OWNER’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1538:50: note: in expansion of macro ‘INDEX_OWNER’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c: scope_hint: In function ‘git_index_add_from_buffer’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1391:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1392:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1392:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ # 1549| # 1550| /* Adding implies conflict was resolved, move conflict entries to REUC */ # 1551|-> if ((error = index_conflict_to_reuc(index, entry->path)) < 0 && error != GIT_ENOTFOUND) # 1552| return error; # 1553| Error: GCC_ANALYZER_WARNING (CWE-476): conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c: scope_hint: In function ‘git_index_find’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1833:49: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:3752:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c: scope_hint: In function ‘git_index_find’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1658:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1659:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1659:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1972:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1973:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1973:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1974:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1974:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1975:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1975:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1976:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1976:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1818:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1819:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1819:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c: scope_hint: In function ‘git_index_find’ # 1831| const git_index_entry *prev = git_vector_get(&index->entries, pos - 1); # 1832| # 1833|-> if (index->entries_cmp_path(prev->path, path) != 0) # 1834| break; # 1835| } Error: GCC_ANALYZER_WARNING (CWE-476): conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c: scope_hint: In function ‘index_conflict__get_byindex’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1935:67: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:3752:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c: scope_hint: In function ‘index_conflict__get_byindex’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1658:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1659:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1659:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1972:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1973:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1973:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1974:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1974:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1975:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1975:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1976:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1976:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1818:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1819:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1819:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1923:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1924:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1924:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1925:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1925:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1926:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1926:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:882:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c: scope_hint: In function ‘index_conflict__get_byindex’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/target/release/build/libgit2-sys-999488d6db6c2e49/out/include/git2/merge.h:15: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/target/release/build/libgit2-sys-999488d6db6c2e49/out/include/git2/cherrypick.h:12: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/target/release/build/libgit2-sys-999488d6db6c2e49/out/include/git2/deprecated.h:16: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/common.h:17: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1938:25: note: in expansion of macro ‘GIT_INDEX_ENTRY_STAGE’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c: scope_hint: In function ‘index_conflict__get_byindex’ # 1933| conflict_entry = git_vector_get(&index->entries, n); # 1934| # 1935|-> if (path && index->entries_cmp_path(conflict_entry->path, path) != 0) # 1936| break; # 1937| Error: GCC_ANALYZER_WARNING (CWE-457): conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c: scope_hint: In function ‘write_disk_entry’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:3015:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘&ondisk_ext_sha1.common’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:3254:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:3255:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:3255:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:52:23: note: in definition of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:32:27: note: in expansion of macro ‘GIT_ASSERT_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:3257:9: note: in expansion of macro ‘GIT_ASSERT’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:42:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:32:27: note: in expansion of macro ‘GIT_ASSERT_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:3257:9: note: in expansion of macro ‘GIT_ASSERT’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c: scope_hint: In function ‘write_disk_entry’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:3084:9: note: in expansion of macro ‘git_vector_foreach’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:3084:9: note: in expansion of macro ‘git_vector_foreach’ /usr/include/arpa/inet.h:22: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/git2_util.h:97: included_from: Included from here. # 3013| } # 3014| # 3015|-> memcpy(mem, ondisk_ext, path_offset); # 3016| } else { # 3017| switch (index->oid_type) { Error: GCC_ANALYZER_WARNING (CWE-457): conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:3019:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘&ondisk_sha1’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:3254:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:3255:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:3255:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:52:23: note: in definition of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:32:27: note: in expansion of macro ‘GIT_ASSERT_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:3257:9: note: in expansion of macro ‘GIT_ASSERT’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:42:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:32:27: note: in expansion of macro ‘GIT_ASSERT_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:3257:9: note: in expansion of macro ‘GIT_ASSERT’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c: scope_hint: In function ‘write_disk_entry’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:3084:9: note: in expansion of macro ‘git_vector_foreach’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:3084:9: note: in expansion of macro ‘git_vector_foreach’ # 3017| switch (index->oid_type) { # 3018| case GIT_OID_SHA1: # 3019|-> memcpy(mem, &ondisk_sha1, path_offset); # 3020| break; # 3021| #ifdef GIT_EXPERIMENTAL_SHA256 Error: GCC_ANALYZER_WARNING (CWE-476): conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/iterator.c: scope_hint: In function ‘filesystem_iterator_is_submodule’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/iterator.c:1138:42: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/repository.h:19: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/ignore.h:12: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/iterator.h:15: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/iterator.c:8: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/iterator.c:1362:21: note: in expansion of macro ‘git_array_alloc’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/common.h:10: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/iterator.h:10: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/iterator.c:1363:9: note: in expansion of macro ‘GIT_ERROR_CHECK_ALLOC’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/iterator.c:19:40: note: in expansion of macro ‘iterator__flag’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/iterator.c:1388:25: note: in expansion of macro ‘iterator__ignore_case’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/iterator.c:25:40: note: in expansion of macro ‘iterator__flag’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/iterator.c:1154:14: note: in expansion of macro ‘iterator__honor_ignores’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/git2_util.h:105: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:52:23: note: in definition of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:32:27: note: in expansion of macro ‘GIT_ASSERT_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/iterator.c:1413:17: note: in expansion of macro ‘GIT_ASSERT’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:42:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:32:27: note: in expansion of macro ‘GIT_ASSERT_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/iterator.c:1413:17: note: in expansion of macro ‘GIT_ASSERT’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/iterator.c: scope_hint: In function ‘filesystem_iterator_is_submodule’ # 1136| if (!error) { # 1137| git_index_entry *e = git_vector_get(&iter->index_snapshot, pos); # 1138|-> is_submodule = (e->mode == GIT_FILEMODE_COMMIT); # 1139| } # 1140| } Error: GCC_ANALYZER_WARNING (CWE-476): conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/iterator.c: scope_hint: In function ‘filesystem_iterator_update_ignored’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/iterator.c:1740:49: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:42:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:32:27: note: in expansion of macro ‘GIT_ASSERT_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/iterator.c:1792:9: note: in expansion of macro ‘GIT_ASSERT’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/iterator.c: scope_hint: In function ‘filesystem_iterator_update_ignored’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:42:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:32:27: note: in expansion of macro ‘GIT_ASSERT_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/iterator.c:1795:9: note: in expansion of macro ‘GIT_ASSERT’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/iterator.c: scope_hint: In function ‘filesystem_iterator_update_ignored’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:42:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:32:27: note: in expansion of macro ‘GIT_ASSERT_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/iterator.c:1798:9: note: in expansion of macro ‘GIT_ASSERT’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/iterator.c: scope_hint: In function ‘filesystem_iterator_update_ignored’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/git2_util.h:60: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/iterator.c: scope_hint: In function ‘filesystem_iterator_update_ignored’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/iterator.c: scope_hint: In function ‘filesystem_iterator_update_ignored’ # 1738| if (iter->current_is_ignored <= GIT_IGNORE_NOTFOUND) { # 1739| frame = filesystem_iterator_current_frame(iter); # 1740|-> iter->current_is_ignored = frame->is_ignored; # 1741| } # 1742| } Error: GCC_ANALYZER_WARNING (CWE-688): conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/midx.c: scope_hint: In function ‘midx_parse_packfile_names’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/midx.c:75:26: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/git2_util.h:105: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/common.h:10: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/midx.h:11: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/midx.c:8: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/midx.c:183:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ /usr/include/arpa/inet.h:22: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/git2_util.h:97: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/posix.h:160: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/git2_util.h:107: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/midx.c:69:23: note: in expansion of macro ‘p_strnlen’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/midx.c:69:23: note: in expansion of macro ‘p_strnlen’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/git2_util.h:57: included_from: Included from here. /usr/include/string.h:156:12: note: argument 1 of ‘strcmp’ must be non-null # 73| return midx_error("unterminated packfile name"); # 74| git_vector_insert(&idx->packfile_names, packfile_name); # 75|-> if (i && strcmp(git_vector_get(&idx->packfile_names, i - 1), packfile_name) >= 0) # 76| return midx_error("packfile names are not sorted"); # 77| if (strlen(packfile_name) <= strlen(".idx") || git__suffixcmp(packfile_name, ".idx") != 0) Error: GCC_ANALYZER_WARNING (CWE-476): conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/midx.c: scope_hint: In function ‘git_midx_parse’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/midx.c:265:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘last_chunk’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/midx.c:183:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ # 263| } # 264| } # 265|-> last_chunk->length = (size_t)(trailer_offset - last_chunk_offset); # 266| # 267| error = midx_parse_packfile_names( Error: GCC_ANALYZER_WARNING (CWE-476): conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/mwindow.c: scope_hint: In function ‘git_mwindow_find_lru_file_locked’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/mwindow.c:319:70: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘mru_window’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/mwindow.h:14: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/mwindow.c:8: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/mwindow.c:313:9: note: in expansion of macro ‘git_vector_foreach’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/mwindow.c:313:9: note: in expansion of macro ‘git_vector_foreach’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/git2_util.h:105: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/common.h:10: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/mwindow.h:11: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/mwindow.c:226:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/mwindow.c:227:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/mwindow.c:227:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/mwindow.c:313:9: note: in expansion of macro ‘git_vector_foreach’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/mwindow.c:313:9: note: in expansion of macro ‘git_vector_foreach’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/mwindow.c:226:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/mwindow.c:226:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ # 317| continue; # 318| } # 319|-> if (!lru_window || lru_window->last_used > mru_window->last_used) { # 320| lru_window = mru_window; # 321| lru_file = current_file; Error: GCC_ANALYZER_WARNING (CWE-476): conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/pathspec.c: scope_hint: In function ‘git_pathspec__match.part.0’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/pathspec.c:222:50: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/pathspec.h:14: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/pathspec.c:8: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/pathspec.c:184:9: note: in expansion of macro ‘git_vector_foreach’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/pathspec.c: scope_hint: In function ‘git_pathspec__match.part.0’ # 220| if (matched_pathspec) { # 221| const git_attr_fnmatch *match = git_vector_get(vspec, pos); # 222|-> *matched_pathspec = match->pattern; # 223| } # 224| Error: GCC_ANALYZER_WARNING (CWE-476): conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/pathspec.c: scope_hint: In function ‘pathspec_build_failure_array’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/pathspec.c:390:57: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/git2_util.h:105: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/common.h:10: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/pathspec.h:10: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/pathspec.c:601:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/git2_util.h:167: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/pathspec.c:326:9: note: in expansion of macro ‘GIT_REFCOUNT_INC’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/pathspec.c: scope_hint: In function ‘pathspec_build_failure_array’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/pathspec.c:608:17: note: in expansion of macro ‘GIT_ERROR_CHECK_ALLOC’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/bitvec.h:57:26: note: in expansion of macro ‘GIT_BITVEC_WORD’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/pathspec.c: scope_hint: In function ‘pathspec_build_failure_array’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/pathspec.h:16: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/pathspec.c:385:31: note: in expansion of macro ‘git_array_alloc’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/pathspec.c:385:31: note: in expansion of macro ‘git_array_alloc’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/pathspec.c:385:31: note: in expansion of macro ‘git_array_alloc’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/pathspec.c: scope_hint: In function ‘pathspec_build_failure_array’ # 388| pat = git_vector_get(patterns, pos); # 389| # 390|-> if ((*failed = git_pool_strdup(pool, pat->pattern)) == NULL) # 391| return -1; # 392| } Error: GCC_ANALYZER_WARNING (CWE-476): conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/submodule.c: scope_hint: In function ‘submodule_get_wd_status’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/submodule.c:2315:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sm’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/git2_util.h:105: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/common.h:10: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/submodule.h:10: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/submodule.c:8: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/submodule.c:1150:9: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/submodule.c:1150:9: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ # 2313| const git_oid *index_oid = git_submodule_index_id(sm); # 2314| const git_oid *wd_oid = # 2315|-> (sm->flags & GIT_SUBMODULE_STATUS__WD_OID_VALID) ? &sm->wd_oid : NULL; # 2316| git_tree *sm_head = NULL; # 2317| git_index *index = NULL; Error: GCC_ANALYZER_WARNING (CWE-476): conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/trailer.c: scope_hint: In function ‘git_message_trailers’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/trailer.c:396:40: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/util.h:11: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/git2_util.h:167: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/array.h:10: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/trailer.c:7: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/trailer.c:326:37: note: in expansion of macro ‘git__isalnum’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/trailer.c:394:58: note: in expansion of macro ‘git_array_alloc’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/trailer.c:394:58: note: in expansion of macro ‘git_array_alloc’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/trailer.c:394:58: note: in expansion of macro ‘git_array_alloc’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/trailer.c:394:58: note: in expansion of macro ‘git_array_alloc’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/trailer.c:394:58: note: in expansion of macro ‘git_array_alloc’ # 394| git_message_trailer *t = git_array_alloc(arr); # 395| # 396|-> t->key = key; # 397| t->value = value; # 398| Error: GCC_ANALYZER_WARNING (CWE-476): conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/transaction.c: scope_hint: In function ‘dup_reflog’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/transaction.c:272:53: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/common.h:10: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/transaction.h:10: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/transaction.c:8: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/transaction.c:248:9: note: in expansion of macro ‘GIT_ERROR_CHECK_ALLOC’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/transaction.c:251:9: note: in expansion of macro ‘GIT_ERROR_CHECK_ALLOC’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/transaction.c:256:9: note: in expansion of macro ‘GIT_ERROR_CHECK_ALLOC’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/transaction.c:259:9: note: in expansion of macro ‘GIT_ERROR_CHECK_ALLOC’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/transaction.c: scope_hint: In function ‘dup_reflog’ # 270| git_oid_cpy(&tgt->oid_cur, &src->oid_cur); # 271| # 272|-> tgt->msg = git_pool_strdup(pool, src->msg); # 273| GIT_ERROR_CHECK_ALLOC(tgt->msg); # 274| Error: GCC_ANALYZER_WARNING (CWE-476): conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/transports/smart_protocol.c: scope_hint: In function ‘store_common’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/transports/smart_protocol.c:320:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pkt’ # 318| return error; # 319| # 320|-> if (pkt->type != GIT_PKT_ACK) { # 321| git__free(pkt); # 322| return 0; Error: GCC_ANALYZER_WARNING (CWE-476): conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/transports/smart_protocol.c: scope_hint: In function ‘update_refs_from_report’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/transports/smart_protocol.c:1084:63: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/transports/smart.h:13: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/transports/smart_protocol.c:13: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/transports/smart_protocol.c:1079:9: note: in expansion of macro ‘git_vector_foreach’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/transports/smart_protocol.c:1079:9: note: in expansion of macro ‘git_vector_foreach’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/transports/smart_protocol.c: scope_hint: In function ‘update_refs_from_report’ # 1082| /* For each push spec we sent to the server, we should have # 1083| * gotten back a status packet in the push report which matches */ # 1084|-> if (strcmp(push_spec->refspec.dst, push_status->ref)) { # 1085| git_error_set(GIT_ERROR_NET, "report-status: protocol error"); # 1086| return -1; Error: GCC_ANALYZER_WARNING (CWE-476): conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/transports/smart_protocol.c:1109:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/transports/smart_protocol.c: scope_hint: In function ‘update_refs_from_report’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/transports/smart_protocol.c: scope_hint: In function ‘update_refs_from_report’ # 1107| /* Add case */ # 1108| if (cmp < 0 && # 1109|-> !push_status->msg && # 1110| add_ref_from_push_spec(refs, push_spec) < 0) # 1111| return -1; Error: GCC_ANALYZER_WARNING (CWE-476): conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/transports/smart_protocol.c:1115:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/transports/smart_protocol.c: scope_hint: In function ‘update_refs_from_report’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/transports/smart_protocol.c: scope_hint: In function ‘update_refs_from_report’ # 1113| /* Update case, delete case */ # 1114| if (cmp == 0 && # 1115|-> !push_status->msg) # 1116| git_oid_cpy(&ref->head.oid, &push_spec->loid); # 1117| } Error: GCC_ANALYZER_WARNING (CWE-476): conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/transports/smart_protocol.c:1124:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/transports/smart_protocol.c: scope_hint: In function ‘update_refs_from_report’ # 1122| # 1123| /* Add case */ # 1124|-> if (!push_status->msg && # 1125| add_ref_from_push_spec(refs, push_spec) < 0) # 1126| return -1; Error: GCC_ANALYZER_WARNING (CWE-476): conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/tree.c: scope_hint: In function ‘git_tree_create_updated’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/tree.c:1206:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/repository.h:19: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/tree.h:13: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/tree.c:8: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/tree.c:1166:21: note: in expansion of macro ‘git_array_alloc’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/tree.c:1166:21: note: in expansion of macro ‘git_array_alloc’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/tree.c:1166:21: note: in expansion of macro ‘git_array_alloc’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/tree.c:1166:21: note: in expansion of macro ‘git_array_alloc’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/common.h:10: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/tree.h:10: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/tree.c:1167:9: note: in expansion of macro ‘GIT_ERROR_CHECK_ALLOC’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/git2_util.h:105: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/tree.c:748:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/tree.c:749:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/tree.c: scope_hint: In function ‘git_tree_create_updated’ # 1204| # 1205| /* Now that we've created the trees we popped from the stack, let's go back down */ # 1206|-> path = &update->path[common_prefix]; # 1207| while (next_component(&component, path)) { # 1208| tree_stack_entry *last, *new_entry; Error: GCC_ANALYZER_WARNING (CWE-476): conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/tree.c:1247:59: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/tree.c:1166:21: note: in expansion of macro ‘git_array_alloc’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/tree.c:1166:21: note: in expansion of macro ‘git_array_alloc’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/tree.c:1166:21: note: in expansion of macro ‘git_array_alloc’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/tree.c:1166:21: note: in expansion of macro ‘git_array_alloc’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/tree.c:1167:9: note: in expansion of macro ‘GIT_ERROR_CHECK_ALLOC’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/tree.c:748:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/tree.c:749:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/tree.c: scope_hint: In function ‘git_tree_create_updated’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/tree.c:1245:58: note: in expansion of macro ‘git_array_last’ # 1245| tree_stack_entry *last = git_array_last(stack); # 1246| char *basename = git_fs_path_basename(update->path); # 1247|-> const git_tree_entry *e = git_treebuilder_get(last->bld, basename); # 1248| if (e && git_tree_entry_type(e) != git_object__type_from_filemode(update->filemode)) { # 1249| git__free(basename); Error: GCC_ANALYZER_WARNING (CWE-476): conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/tree.c:1266:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/tree.c:1166:21: note: in expansion of macro ‘git_array_alloc’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/tree.c:1166:21: note: in expansion of macro ‘git_array_alloc’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/tree.c:1166:21: note: in expansion of macro ‘git_array_alloc’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/tree.c:1166:21: note: in expansion of macro ‘git_array_alloc’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/tree.c:1167:9: note: in expansion of macro ‘GIT_ERROR_CHECK_ALLOC’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/tree.c:748:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/tree.c:749:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/tree.c: scope_hint: In function ‘git_tree_create_updated’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/tree.c:1264:58: note: in expansion of macro ‘git_array_last’ # 1264| tree_stack_entry *last = git_array_last(stack); # 1265| char *basename = git_fs_path_basename(update->path); # 1266|-> error = git_treebuilder_remove(last->bld, basename); # 1267| git__free(basename); # 1268| break; Error: GCC_ANALYZER_WARNING (CWE-404): conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/str.h:10: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/str.c:8: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/str.c: scope_hint: In function ‘git_str_join_n’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/git2_util.h:146:61: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/str.c:695:17: note: in expansion of macro ‘GIT_ERROR_CHECK_ALLOC_ADD’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/str.c:695:17: note: in expansion of macro ‘GIT_ERROR_CHECK_ALLOC_ADD’ # 144| /** Check for additive overflow, failing if it would occur. */ # 145| #define GIT_ERROR_CHECK_ALLOC_ADD(out, one, two) \ # 146|-> if (GIT_ADD_SIZET_OVERFLOW(out, one, two)) { return -1; } # 147| # 148| #define GIT_ERROR_CHECK_ALLOC_ADD3(out, one, two, three) \ Error: GCC_ANALYZER_WARNING (CWE-457): conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/net.c: scope_hint: In function ‘git_net_url_parse_scp’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/net.c:704:47: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘user’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/net.c: scope_hint: In function ‘git_net_url_parse_scp’ # 702| case USER: # 703| if (*c == '@') { # 704|-> user_len = (c - user); # 705| state = HOST_START; # 706| } Error: GCC_ANALYZER_WARNING (CWE-476): conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/str.h:129:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘buf’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/refs.c: scope_hint: In function ‘git_reference__normalize_name’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/git2_util.h:105: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:42:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:32:27: note: in expansion of macro ‘GIT_ASSERT_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/refs.c:1331:9: note: in expansion of macro ‘GIT_ASSERT’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/refs.c:917:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ # 127| GIT_INLINE(bool) git_str_oom(const git_str *str) # 128| { # 129|-> return (str->ptr == git_str__oom); # 130| } # 131| Error: GCC_ANALYZER_WARNING (CWE-688): conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/tsort.c: scope_hint: In function ‘merge’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/tsort.c:220:17: warning[-Wanalyzer-null-argument]: use of NULL ‘storage’ where non-null expected conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/tsort.c:360:9: note: in expansion of macro ‘PUSH_NEXT’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/tsort.c:361:9: note: in expansion of macro ‘PUSH_NEXT’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/tsort.c:361:9: note: in expansion of macro ‘PUSH_NEXT’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/tsort.c:362:9: note: in expansion of macro ‘PUSH_NEXT’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/tsort.c:362:9: note: in expansion of macro ‘PUSH_NEXT’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/tsort.c:362:9: note: in expansion of macro ‘PUSH_NEXT’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/tsort.c:362:9: note: in expansion of macro ‘PUSH_NEXT’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/tsort.c:362:9: note: in expansion of macro ‘PUSH_NEXT’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/tsort.c:362:9: note: in expansion of macro ‘PUSH_NEXT’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/tsort.c:362:9: note: in expansion of macro ‘PUSH_NEXT’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/tsort.c:362:9: note: in expansion of macro ‘PUSH_NEXT’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/tsort.c:362:9: note: in expansion of macro ‘PUSH_NEXT’ <built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null # 218| /* left merge */ # 219| if (A < B) { # 220|-> memcpy(storage, &dst[curr], A * sizeof(void *)); # 221| i = 0; # 222| j = curr + A; Error: GCC_ANALYZER_WARNING (CWE-688): conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/tsort.c:236:17: warning[-Wanalyzer-null-argument]: use of NULL ‘storage’ where non-null expected conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/tsort.c:360:9: note: in expansion of macro ‘PUSH_NEXT’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/tsort.c:361:9: note: in expansion of macro ‘PUSH_NEXT’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/tsort.c:361:9: note: in expansion of macro ‘PUSH_NEXT’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/tsort.c:361:9: note: in expansion of macro ‘PUSH_NEXT’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/tsort.c:361:9: note: in expansion of macro ‘PUSH_NEXT’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/tsort.c:361:9: note: in expansion of macro ‘PUSH_NEXT’ <built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null # 234| } # 235| } else { # 236|-> memcpy(storage, &dst[curr + A], B * sizeof(void *)); # 237| i = B - 1; # 238| j = curr + A - 1; Error: GCC_ANALYZER_WARNING: conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c: scope_hint: In function ‘git_process_start’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:309:25: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘-1’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:305:17: note: in expansion of macro ‘CLOSE_FD’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:168:13: note: in definition of macro ‘CLOSE_FD’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:308:25: note: in expansion of macro ‘CLOSE_FD’ # 307| if (process->capture_in) { # 308| CLOSE_FD(in[1]); # 309|-> dup2(in[0], STDIN_FILENO); # 310| } # 311| Error: GCC_ANALYZER_WARNING: conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:314:25: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘-1’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:305:17: note: in expansion of macro ‘CLOSE_FD’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:168:13: note: in definition of macro ‘CLOSE_FD’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:313:25: note: in expansion of macro ‘CLOSE_FD’ # 312| if (process->capture_out) { # 313| CLOSE_FD(out[0]); # 314|-> dup2(out[1], STDOUT_FILENO); # 315| } # 316| Error: GCC_ANALYZER_WARNING: conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:319:25: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘-1’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:305:17: note: in expansion of macro ‘CLOSE_FD’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:168:13: note: in definition of macro ‘CLOSE_FD’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:318:25: note: in expansion of macro ‘CLOSE_FD’ # 317| if (process->capture_err) { # 318| CLOSE_FD(err[0]); # 319|-> dup2(err[1], STDERR_FILENO); # 320| } # 321| Error: GCC_ANALYZER_WARNING (CWE-775): conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:367:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘err[0]’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:371:9: note: in expansion of macro ‘CLOSE_FD’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:168:13: note: in definition of macro ‘CLOSE_FD’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:372:9: note: in expansion of macro ‘CLOSE_FD’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:168:13: note: in definition of macro ‘CLOSE_FD’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:373:9: note: in expansion of macro ‘CLOSE_FD’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:168:13: note: in definition of macro ‘CLOSE_FD’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:374:9: note: in expansion of macro ‘CLOSE_FD’ # 365| # 366| process->pid = pid; # 367|-> return 0; # 368| } # 369| Error: GCC_ANALYZER_WARNING (CWE-775): conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:367:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘err[1]’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:371:9: note: in expansion of macro ‘CLOSE_FD’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:168:13: note: in definition of macro ‘CLOSE_FD’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:372:9: note: in expansion of macro ‘CLOSE_FD’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:168:13: note: in definition of macro ‘CLOSE_FD’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:373:9: note: in expansion of macro ‘CLOSE_FD’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:168:13: note: in definition of macro ‘CLOSE_FD’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:374:9: note: in expansion of macro ‘CLOSE_FD’ # 365| # 366| process->pid = pid; # 367|-> return 0; # 368| } # 369| Error: GCC_ANALYZER_WARNING (CWE-775): conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:367:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘in[0]’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:371:9: note: in expansion of macro ‘CLOSE_FD’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:168:13: note: in definition of macro ‘CLOSE_FD’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:372:9: note: in expansion of macro ‘CLOSE_FD’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:168:13: note: in definition of macro ‘CLOSE_FD’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:373:9: note: in expansion of macro ‘CLOSE_FD’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:168:13: note: in definition of macro ‘CLOSE_FD’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:374:9: note: in expansion of macro ‘CLOSE_FD’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:168:13: note: in definition of macro ‘CLOSE_FD’ # 365| # 366| process->pid = pid; # 367|-> return 0; # 368| } # 369| Error: GCC_ANALYZER_WARNING (CWE-775): conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:367:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘in[1]’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:371:9: note: in expansion of macro ‘CLOSE_FD’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:168:13: note: in definition of macro ‘CLOSE_FD’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:372:9: note: in expansion of macro ‘CLOSE_FD’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:168:13: note: in definition of macro ‘CLOSE_FD’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:373:9: note: in expansion of macro ‘CLOSE_FD’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:168:13: note: in definition of macro ‘CLOSE_FD’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:374:9: note: in expansion of macro ‘CLOSE_FD’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:168:13: note: in definition of macro ‘CLOSE_FD’ # 365| # 366| process->pid = pid; # 367|-> return 0; # 368| } # 369| Error: GCC_ANALYZER_WARNING (CWE-775): conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:367:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out[0]’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:371:9: note: in expansion of macro ‘CLOSE_FD’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:168:13: note: in definition of macro ‘CLOSE_FD’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:372:9: note: in expansion of macro ‘CLOSE_FD’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:168:13: note: in definition of macro ‘CLOSE_FD’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:373:9: note: in expansion of macro ‘CLOSE_FD’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:168:13: note: in definition of macro ‘CLOSE_FD’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:374:9: note: in expansion of macro ‘CLOSE_FD’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:168:13: note: in definition of macro ‘CLOSE_FD’ # 365| # 366| process->pid = pid; # 367|-> return 0; # 368| } # 369| Error: GCC_ANALYZER_WARNING (CWE-775): conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:367:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out[1]’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:371:9: note: in expansion of macro ‘CLOSE_FD’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:168:13: note: in definition of macro ‘CLOSE_FD’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:372:9: note: in expansion of macro ‘CLOSE_FD’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:168:13: note: in definition of macro ‘CLOSE_FD’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:373:9: note: in expansion of macro ‘CLOSE_FD’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:168:13: note: in definition of macro ‘CLOSE_FD’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:374:9: note: in expansion of macro ‘CLOSE_FD’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:168:13: note: in definition of macro ‘CLOSE_FD’ # 365| # 366| process->pid = pid; # 367|-> return 0; # 368| } # 369| Error: GCC_ANALYZER_WARNING (CWE-775): conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:367:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘status[0]’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:371:9: note: in expansion of macro ‘CLOSE_FD’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:168:13: note: in definition of macro ‘CLOSE_FD’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:372:9: note: in expansion of macro ‘CLOSE_FD’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:168:13: note: in definition of macro ‘CLOSE_FD’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:373:9: note: in expansion of macro ‘CLOSE_FD’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:168:13: note: in definition of macro ‘CLOSE_FD’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/unix/process.c:374:9: note: in expansion of macro ‘CLOSE_FD’ # 365| # 366| process->pid = pid; # 367|-> return 0; # 368| } # 369| Error: GCC_ANALYZER_WARNING: conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/util.c: scope_hint: In function ‘swap’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/util.c:703:17: warning[-Wanalyzer-overlapping-buffers]: overlapping buffers passed as arguments to ‘memcpy’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/git2_util.h:57: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/str.h:10: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/util.h:14: included_from: Included from here. conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/util.c:8: included_from: Included from here. /usr/include/string.h:43:14: note: the behavior of ‘memcpy’ is undefined for overlapping buffers # 701| size_t n = elsize < sizeof(tmp) ? elsize : sizeof(tmp); # 702| memcpy(tmp, a + elsize - n, n); # 703|-> memcpy(a + elsize - n, b + elsize - n, n); # 704| memcpy(b + elsize - n, tmp, n); # 705| elsize -= n; Error: GCC_ANALYZER_WARNING (CWE-835): conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libz-sys/src/zlib/gzread.c: scope_hint: In function ‘gz_fetch’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libz-sys/src/zlib/gzread.c:212:21: warning[-Wanalyzer-infinite-loop]: infinite loop # 210| # 211| do { # 212|-> switch(state->how) { # 213| case LOOK: /* -> LOOK, COPY (only if never GZIP), or GZIP */ # 214| if (gz_look(state) == -1) Error: CPPCHECK_WARNING (CWE-457): conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libz-sys/src/zlib/inflate.c:1399: warning[uninitvar]: Uninitialized variable: buf # 1397| } # 1398| state->have = 0; # 1399|-> syncsearch(&(state->have), buf, len); # 1400| } # 1401| Error: GCC_ANALYZER_WARNING (CWE-476): conmon-rs-0.6.6-build/conmon-rs-0.6.6/target/release/build/libgit2-sys-999488d6db6c2e49/out/include/git2/index.h:93:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1938:25: note: in expansion of macro ‘GIT_INDEX_ENTRY_STAGE’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:3752:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c: scope_hint: In function ‘index_conflict__get_byindex’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1658:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1659:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1659:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1972:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1973:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1973:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1974:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1974:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1975:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1975:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1976:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1976:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1818:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1819:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1819:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1923:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1924:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1924:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1925:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1925:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1926:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1926:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:882:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c: scope_hint: In function ‘index_conflict__get_byindex’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1938:25: note: in expansion of macro ‘GIT_INDEX_ENTRY_STAGE’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1938:25: note: in expansion of macro ‘GIT_INDEX_ENTRY_STAGE’ # 91| # 92| #define GIT_INDEX_ENTRY_STAGE(E) \ # 93|-> (((E)->flags & GIT_INDEX_ENTRY_STAGEMASK) >> GIT_INDEX_ENTRY_STAGESHIFT) # 94| # 95| #define GIT_INDEX_ENTRY_STAGE_SET(E,S) do { \ Error: GCC_ANALYZER_WARNING (CWE-476): conmon-rs-0.6.6-build/conmon-rs-0.6.6/target/release/build/libgit2-sys-c0d43f4374a9aaba/out/include/git2/index.h:93:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1938:25: note: in expansion of macro ‘GIT_INDEX_ENTRY_STAGE’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:3752:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c: scope_hint: In function ‘index_conflict__get_byindex’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1658:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1659:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1659:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1972:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1973:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1973:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1974:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1974:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1975:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1975:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1976:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1976:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1818:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1819:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1819:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1923:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1924:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1924:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1925:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1925:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1926:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1926:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:882:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c: scope_hint: In function ‘index_conflict__get_byindex’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1938:25: note: in expansion of macro ‘GIT_INDEX_ENTRY_STAGE’ conmon-rs-0.6.6-build/conmon-rs-0.6.6/.cargo-vendor/libgit2-sys/libgit2/src/libgit2/index.c:1938:25: note: in expansion of macro ‘GIT_INDEX_ENTRY_STAGE’ # 91| # 92| #define GIT_INDEX_ENTRY_STAGE(E) \ # 93|-> (((E)->flags & GIT_INDEX_ENTRY_STAGEMASK) >> GIT_INDEX_ENTRY_STAGESHIFT) # 94| # 95| #define GIT_INDEX_ENTRY_STAGE_SET(E,S) do { \