Error: CLIPPY_WARNING: [#def1] crates/goose/src/providers/lead_worker.rs:210:21: warning: this `if` can be collapsed into the outer `match` # | # 210 | / if tool_request.tool_call.is_err() { # 211 | | failure_indicators += 1; # 212 | | tracing::debug!( # 213 | | "Failed tool request detected: {:?}", # 214 | | tool_request.tool_call # 215 | | ); # 216 | | } # | |_____________________^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.95.0/index.html#collapsible_match # help: collapse nested if block # | # 208 ~ MessageContent::ToolRequest(tool_request) # 209 | // Check if tool request itself failed (malformed, etc.) # 210 ~ if tool_request.tool_call.is_err() => { # 211 | failure_indicators += 1; # ... # 215 | ); # 216 ~ } # | Error: CLIPPY_WARNING: [#def2] crates/goose/src/providers/lead_worker.rs:233:21: warning: this `if` can be collapsed into the outer `match` # | # 233 | / if self.contains_user_correction_patterns(&text_content.text) { # 234 | | failure_indicators += 1; # 235 | | tracing::debug!("User correction pattern detected in text"); # 236 | | } # | |_____________________^ # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.95.0/index.html#collapsible_match # help: collapse nested if block # | # 231 ~ MessageContent::Text(text_content) # 232 | // Check for user correction patterns or error acknowledgments # 233 ~ if self.contains_user_correction_patterns(&text_content.text) => { # 234 | failure_indicators += 1; # 235 | tracing::debug!("User correction pattern detected in text"); # 236 ~ } # | Error: GCC_ANALYZER_WARNING (CWE-476): [#def3] goose-1.23.2/target/rpm/build/libgit2-sys-a612282c711e4ec5/out/include/git2/index.h:93:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1938:25: note: in expansion of macro ‘GIT_INDEX_ENTRY_STAGE’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:3752:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c: scope_hint: In function ‘index_conflict__get_byindex’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1658:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1659:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1659:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1972:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1973:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1973:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1974:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1974:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1975:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1975:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1976:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1976:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1818:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1819:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1819:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1923:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1924:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1924:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1925:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1925:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1926:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1926:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:882:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c: scope_hint: In function ‘index_conflict__get_byindex’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1938:25: note: in expansion of macro ‘GIT_INDEX_ENTRY_STAGE’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/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: COMPILER_WARNING: [#def4] goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/deps/pcre/pcre_compile.c: scope_hint: In function ‘compile_branch’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/deps/pcre/pcre_compile.c:4558:7: warning[-Wunused-but-set-variable=]: variable ‘class_has_8bitchar’ set but not used # 4558 | int class_has_8bitchar; # | ^~~~~~~~~~~~~~~~~~ # 4556| BOOL is_recurse; # 4557| BOOL reset_bracount; # 4558|-> int class_has_8bitchar; # 4559| int class_one_char; # 4560| #if defined SUPPORT_UTF || !defined COMPILE_PCRE8 Error: CPPCHECK_WARNING (CWE-562): [#def5] goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/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: [#def6] goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/deps/pcre/pcre_compile.c: scope_hint: In function ‘compile_regex’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/deps/pcre/pcre_compile.c:8382:17: warning[-Wdangling-pointer=]: storing the address of local variable ‘capitem’ in ‘cd_162(D)->open_caps’ # 8382 | cd->open_caps = &capitem; # | ~~~~~~~~~~~~~~^~~~~~~~~~ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/deps/pcre/pcre_compile.c:8326:14: note: ‘capitem’ declared here # 8326 | open_capitem capitem; # | ^~~~~~~ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/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-476): [#def7] goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/deps/pcre/pcreposix.c: scope_hint: In function ‘pcre_regexec’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/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): [#def8] goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/attr_file.c: scope_hint: In function ‘git_attr_file__lookup_one’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/attr_file.c:428:79: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/attr_file.h:14: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/attr_file.c:8: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/attr_file.h:197:9: note: in expansion of macro ‘git_vector_rforeach’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/attr_file.c:423:9: note: in expansion of macro ‘git_attr_file__foreach_matching_rule’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/attr_file.h:197:9: note: in expansion of macro ‘git_vector_rforeach’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/attr_file.c:423:9: note: in expansion of macro ‘git_attr_file__foreach_matching_rule’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/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: COMPILER_WARNING (CWE-704): [#def9] goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/attr_file.c: scope_hint: In function ‘git_attr_fnmatch__parse’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/attr_file.c:802:31: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type # 800| # 801| if (context) { # 802|-> char *slash = strrchr(context, '/'); # 803| size_t len; # 804| if (slash) { Error: GCC_ANALYZER_WARNING (CWE-476): [#def10] goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/commit_graph.c: scope_hint: In function ‘compute_generation_numbers’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/commit_graph.c:929:57: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/commit_graph.c: scope_hint: In function ‘compute_generation_numbers’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/commit_graph.c:915:9: note: in expansion of macro ‘git_vector_foreach’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/commit_graph.c:10: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/commit_graph.c:916:28: note: in expansion of macro ‘git_array_alloc’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/commit_graph.c:918:16: note: in expansion of macro ‘git_array_size’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/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): [#def11] goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/commit_graph.c:932:77: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/commit_graph.c: scope_hint: In function ‘compute_generation_numbers’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/commit_graph.c:915:9: note: in expansion of macro ‘git_vector_foreach’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/commit_graph.c:916:28: note: in expansion of macro ‘git_array_alloc’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/commit_graph.c:918:16: note: in expansion of macro ‘git_array_size’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/commit_graph.c:919:37: note: in expansion of macro ‘git_array_pop’ # 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): [#def12] goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/commit_graph.c:955:57: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/commit_graph.c: scope_hint: In function ‘compute_generation_numbers’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/commit_graph.c:915:9: note: in expansion of macro ‘git_vector_foreach’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/commit_graph.c:916:28: note: in expansion of macro ‘git_array_alloc’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/commit_graph.c:918:16: note: in expansion of macro ‘git_array_size’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/commit_graph.c:919:37: note: in expansion of macro ‘git_array_pop’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/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): [#def13] goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/commit_graph.c:963:57: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/commit_graph.c: scope_hint: In function ‘compute_generation_numbers’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/commit_graph.c:915:9: note: in expansion of macro ‘git_vector_foreach’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/commit_graph.c:916:28: note: in expansion of macro ‘git_array_alloc’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/commit_graph.c:918:16: note: in expansion of macro ‘git_array_size’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/commit_graph.c:919:37: note: in expansion of macro ‘git_array_pop’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/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): [#def14] goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/commit_graph.c:972:65: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/commit_graph.c: scope_hint: In function ‘compute_generation_numbers’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/commit_graph.c:915:9: note: in expansion of macro ‘git_vector_foreach’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/commit_graph.c:916:28: note: in expansion of macro ‘git_array_alloc’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/commit_graph.c:918:16: note: in expansion of macro ‘git_array_size’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/commit_graph.c:919:37: note: in expansion of macro ‘git_array_pop’ # 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: COMPILER_WARNING (CWE-704): [#def15] goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/config_file.c: scope_hint: In function ‘config_file_write’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/config_file.c:1161:14: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type # 1159| goto done; # 1160| # 1161|-> ldot = strrchr(key, '.'); # 1162| name = ldot + 1; # 1163| section = git__strndup(key, ldot - key); Error: COMPILER_WARNING (CWE-704): [#def16] goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/config_file.c:1166:14: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type # 1164| GIT_ERROR_CHECK_ALLOC(section); # 1165| # 1166|-> ldot = strrchr(orig_key, '.'); # 1167| orig_name = ldot + 1; # 1168| orig_section = git__strndup(orig_key, ldot - orig_key); Error: COMPILER_WARNING (CWE-704): [#def17] goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/config_parse.c: scope_hint: In function ‘unescape_line’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/config_parse.c:311:34: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type # 309| goto done; # 310| } # 311|-> if ((esc = strchr(git_config_escapes, *ptr)) != NULL) { # 312| *fixed++ = git_config_escaped[esc - git_config_escapes]; # 313| } else { Error: GCC_ANALYZER_WARNING (CWE-476): [#def18] goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_driver.c: scope_hint: In function ‘diff_context_line__pattern_match’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_driver.c:458:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pat’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/repository.h:19: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/ignore.h:12: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/iterator.h:15: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff.h:18: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_driver.c:13: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_driver.c:455:48: note: in expansion of macro ‘git_array_get’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_driver.c:455:48: note: in expansion of macro ‘git_array_get’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_driver.c:455:48: note: in expansion of macro ‘git_array_get’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/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-688): [#def19] goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_tform.c: scope_hint: In function ‘git_diff__delta_dup’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_tform.c:27:9: warning[-Wanalyzer-null-argument]: use of NULL ‘d’ where non-null expected goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff.h:17: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_file.h:12: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_tform.h:12: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_tform.c:8: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_tform.c:145:37: note: in expansion of macro ‘GIT_VECTOR_GET’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_tform.c:146:43: note: in expansion of macro ‘GIT_VECTOR_GET’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_tform.c:146:43: note: in expansion of macro ‘GIT_VECTOR_GET’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/git2_util.h:57: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/common.h:10: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_tform.h:10: included_from: Included from here. /usr/include/string.h:47:14: note: argument 2 of ‘memcpy’ must be non-null # 25| return NULL; # 26| # 27|-> memcpy(delta, d, sizeof(git_diff_delta)); # 28| GIT_DIFF_FLAG__CLEAR_INTERNAL(delta->flags); # 29| Error: GCC_ANALYZER_WARNING (CWE-476): [#def20] goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_tform.c: scope_hint: In function ‘calc_self_similarity’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_tform.c:640:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘delta’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/git2_util.h:105: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_tform.c:840:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_tform.c:254:9: note: in expansion of macro ‘GIT_ERROR_CHECK_VERSION’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_tform.c:306:26: note: in definition of macro ‘USE_DEFAULT’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_tform.c:306:26: note: in definition of macro ‘USE_DEFAULT’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_tform.c:306:26: note: in definition of macro ‘USE_DEFAULT’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_tform.c:254:9: note: in expansion of macro ‘GIT_ERROR_CHECK_VERSION’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/git2_util.h:104: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/git2_util.h:142:10: note: in expansion of macro ‘git__multiply_sizet_overflow’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/git2_util.h:165:13: note: in expansion of macro ‘GIT_MULTIPLY_SIZET_OVERFLOW’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_tform.c:855:9: note: in expansion of macro ‘GIT_ERROR_CHECK_ALLOC_MULTIPLY’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/git2_util.h:165:13: note: in expansion of macro ‘GIT_MULTIPLY_SIZET_OVERFLOW’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_tform.c:855:9: note: in expansion of macro ‘GIT_ERROR_CHECK_ALLOC_MULTIPLY’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_tform.c:857:9: note: in expansion of macro ‘GIT_ERROR_CHECK_ALLOC’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_tform.c:857:9: note: in expansion of macro ‘GIT_ERROR_CHECK_ALLOC’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_tform.c:864:9: note: in expansion of macro ‘git_vector_foreach’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_tform.c:864:9: note: in expansion of macro ‘git_vector_foreach’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_tform.c:661:33: note: in expansion of macro ‘GIT_VECTOR_GET’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_tform.c:661:33: note: in expansion of macro ‘GIT_VECTOR_GET’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_tform.c:735:33: note: in expansion of macro ‘GIT_VECTOR_GET’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_tform.c:735:33: note: in expansion of macro ‘GIT_VECTOR_GET’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_tform.c:766:22: note: in expansion of macro ‘FLAG_SET’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_tform.c:638:33: note: in expansion of macro ‘GIT_VECTOR_GET’ # 638| git_diff_delta *delta = GIT_VECTOR_GET(&diff->deltas, delta_idx); # 639| # 640|-> if ((delta->flags & GIT_DIFF_FLAG__HAS_SELF_SIMILARITY) != 0) # 641| return 0; # 642| Error: GCC_ANALYZER_WARNING (CWE-476): [#def21] goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_tform.c: scope_hint: In function ‘is_rename_target’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_tform.c:688:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘delta’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_tform.c:840:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_tform.c:254:9: note: in expansion of macro ‘GIT_ERROR_CHECK_VERSION’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_tform.c:306:26: note: in definition of macro ‘USE_DEFAULT’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_tform.c:306:26: note: in definition of macro ‘USE_DEFAULT’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_tform.c:306:26: note: in definition of macro ‘USE_DEFAULT’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_tform.c:254:9: note: in expansion of macro ‘GIT_ERROR_CHECK_VERSION’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/git2_util.h:142:10: note: in expansion of macro ‘git__multiply_sizet_overflow’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/git2_util.h:165:13: note: in expansion of macro ‘GIT_MULTIPLY_SIZET_OVERFLOW’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_tform.c:855:9: note: in expansion of macro ‘GIT_ERROR_CHECK_ALLOC_MULTIPLY’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/git2_util.h:165:13: note: in expansion of macro ‘GIT_MULTIPLY_SIZET_OVERFLOW’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_tform.c:855:9: note: in expansion of macro ‘GIT_ERROR_CHECK_ALLOC_MULTIPLY’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_tform.c:857:9: note: in expansion of macro ‘GIT_ERROR_CHECK_ALLOC’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_tform.c:857:9: note: in expansion of macro ‘GIT_ERROR_CHECK_ALLOC’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_tform.c:864:9: note: in expansion of macro ‘git_vector_foreach’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_tform.c:864:9: note: in expansion of macro ‘git_vector_foreach’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_tform.c:661:33: note: in expansion of macro ‘GIT_VECTOR_GET’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_tform.c:661:33: note: in expansion of macro ‘GIT_VECTOR_GET’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_tform.c:679:33: note: in expansion of macro ‘GIT_VECTOR_GET’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/attr_file.h:17: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/attrcache.h:12: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/repository.h:24: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/ignore.h:12: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/iterator.h:15: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff.h:18: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/futils.h:279:51: note: in definition of macro ‘GIT_MODE_TYPE’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_tform.c:682:14: note: in expansion of macro ‘GIT_MODE_ISBLOB’ # 686| * targets; maybe include UNTRACKED if requested. # 687| */ # 688|-> switch (delta->status) { # 689| case GIT_DELTA_UNMODIFIED: # 690| case GIT_DELTA_DELETED: Error: GCC_ANALYZER_WARNING (CWE-476): [#def22] goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_tform.c: scope_hint: In function ‘is_rename_source’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_tform.c:741:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘delta’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_tform.c:840:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_tform.c:254:9: note: in expansion of macro ‘GIT_ERROR_CHECK_VERSION’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_tform.c:306:26: note: in definition of macro ‘USE_DEFAULT’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_tform.c:306:26: note: in definition of macro ‘USE_DEFAULT’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_tform.c:306:26: note: in definition of macro ‘USE_DEFAULT’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_tform.c:254:9: note: in expansion of macro ‘GIT_ERROR_CHECK_VERSION’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/git2_util.h:142:10: note: in expansion of macro ‘git__multiply_sizet_overflow’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/git2_util.h:165:13: note: in expansion of macro ‘GIT_MULTIPLY_SIZET_OVERFLOW’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_tform.c:855:9: note: in expansion of macro ‘GIT_ERROR_CHECK_ALLOC_MULTIPLY’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/git2_util.h:165:13: note: in expansion of macro ‘GIT_MULTIPLY_SIZET_OVERFLOW’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_tform.c:855:9: note: in expansion of macro ‘GIT_ERROR_CHECK_ALLOC_MULTIPLY’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_tform.c:857:9: note: in expansion of macro ‘GIT_ERROR_CHECK_ALLOC’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_tform.c:857:9: note: in expansion of macro ‘GIT_ERROR_CHECK_ALLOC’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_tform.c:864:9: note: in expansion of macro ‘git_vector_foreach’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_tform.c:864:9: note: in expansion of macro ‘git_vector_foreach’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_tform.c:661:33: note: in expansion of macro ‘GIT_VECTOR_GET’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_tform.c:661:33: note: in expansion of macro ‘GIT_VECTOR_GET’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_tform.c:735:33: note: in expansion of macro ‘GIT_VECTOR_GET’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/futils.h:279:51: note: in definition of macro ‘GIT_MODE_TYPE’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/diff_tform.c:738:14: note: in expansion of macro ‘GIT_MODE_ISBLOB’ # 739| return false; # 740| # 741|-> switch (delta->status) { # 742| case GIT_DELTA_ADDED: # 743| case GIT_DELTA_UNTRACKED: Error: GCC_ANALYZER_WARNING (CWE-476): [#def23] goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/git2_util.h:105: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/common.h:10: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/filter.h:10: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/filter.c:8: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/filter.c: scope_hint: In function ‘setup_stream’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/filter.c:1040:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘fe’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:52:23: note: in definition of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:32:27: note: in expansion of macro ‘GIT_ASSERT_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/filter.c:1040:9: note: in expansion of macro ‘GIT_ASSERT’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:52:23: note: in definition of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:32:27: note: in expansion of macro ‘GIT_ASSERT_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/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): [#def24] goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/filter.c: scope_hint: In function ‘git_filter_list_stream_file’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/filter.c:1140:42: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘stream_start’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/filter.c: scope_hint: In function ‘git_filter_list_stream_file’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/repository.h:19: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/filter.c:14: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/filter.c:1081:40: note: in expansion of macro ‘git_array_get’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/filter.c:1081:40: note: in expansion of macro ‘git_array_get’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/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): [#def25] goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/filter.c:1149:38: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘stream_start’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/filter.c: scope_hint: In function ‘git_filter_list_stream_file’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/filter.c:1081:40: note: in expansion of macro ‘git_array_get’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/filter.c:1081:40: note: in expansion of macro ‘git_array_get’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/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): [#def26] goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/filter.c: scope_hint: In function ‘git_filter_list_stream_buffer’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/filter.c:1172:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘stream_start’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/filter.c:10: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/filter.c:763:9: note: in expansion of macro ‘GIT_BUF_WRAP_PRIVATE’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/buf.h:23:22: note: in definition of macro ‘GIT_BUF_WRAP_PRIVATE’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/buf.h:23:22: note: in definition of macro ‘GIT_BUF_WRAP_PRIVATE’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/filter.c: scope_hint: In function ‘git_filter_list_stream_buffer’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/filter.c:1081:40: note: in expansion of macro ‘git_array_get’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/filter.c:1081:40: note: in expansion of macro ‘git_array_get’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/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): [#def27] goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c: scope_hint: In function ‘git_index_add_from_buffer’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1551:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘entry’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/git2_util.h:105: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/common.h:10: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.h:10: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:8: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1517:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1518:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1518:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/git2_util.h:103: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/util.h:188:31: note: in expansion of macro ‘git_atomic_load’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:48:46: note: in expansion of macro ‘GIT_REFCOUNT_OWNER’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1520:13: note: in expansion of macro ‘INDEX_OWNER’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c: scope_hint: In function ‘git_index_add_from_buffer’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/git2_util.h:104: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/git2_util.h:138:10: note: in expansion of macro ‘git__add_sizet_overflow’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/git2_util.h:146:13: note: in expansion of macro ‘GIT_ADD_SIZET_OVERFLOW’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:982:9: note: in expansion of macro ‘GIT_ERROR_CHECK_ALLOC_ADD’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/git2_util.h:146:13: note: in expansion of macro ‘GIT_ADD_SIZET_OVERFLOW’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:982:9: note: in expansion of macro ‘GIT_ERROR_CHECK_ALLOC_ADD’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/git2_util.h:138:10: note: in expansion of macro ‘git__add_sizet_overflow’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/git2_util.h:146:13: note: in expansion of macro ‘GIT_ADD_SIZET_OVERFLOW’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:983:9: note: in expansion of macro ‘GIT_ERROR_CHECK_ALLOC_ADD’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/git2_util.h:146:13: note: in expansion of macro ‘GIT_ADD_SIZET_OVERFLOW’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:983:9: note: in expansion of macro ‘GIT_ERROR_CHECK_ALLOC_ADD’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:985:9: note: in expansion of macro ‘GIT_ERROR_CHECK_ALLOC’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/util.h:188:31: note: in expansion of macro ‘git_atomic_load’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:48:46: note: in expansion of macro ‘GIT_REFCOUNT_OWNER’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1538:50: note: in expansion of macro ‘INDEX_OWNER’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c: scope_hint: In function ‘git_index_add_from_buffer’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1391:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1392:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/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): [#def28] goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c: scope_hint: In function ‘git_index_find’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1833:49: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:3752:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c: scope_hint: In function ‘git_index_find’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1658:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1659:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1659:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1972:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1973:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1973:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1974:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1974:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1975:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1975:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1976:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1976:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1818:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1819:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1819:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ # 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): [#def29] goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c: scope_hint: In function ‘index_conflict__get_byindex’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1935:67: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:3752:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c: scope_hint: In function ‘index_conflict__get_byindex’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1658:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1659:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1659:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1972:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1973:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1973:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1974:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1974:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1975:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1975:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1976:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1976:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1818:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1819:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1819:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1923:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1924:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1924:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1925:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1925:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1926:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1926:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:882:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c: scope_hint: In function ‘index_conflict__get_byindex’ goose-1.23.2/target/rpm/build/libgit2-sys-a612282c711e4ec5/out/include/git2/merge.h:15: included_from: Included from here. goose-1.23.2/target/rpm/build/libgit2-sys-a612282c711e4ec5/out/include/git2/cherrypick.h:12: included_from: Included from here. goose-1.23.2/target/rpm/build/libgit2-sys-a612282c711e4ec5/out/include/git2/deprecated.h:16: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/common.h:17: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:1938:25: note: in expansion of macro ‘GIT_INDEX_ENTRY_STAGE’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/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): [#def30] goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c: scope_hint: In function ‘write_disk_entry’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:3015:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘&ondisk_ext_sha1.common’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:3254:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:3255:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:3255:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:52:23: note: in definition of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:32:27: note: in expansion of macro ‘GIT_ASSERT_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:3257:9: note: in expansion of macro ‘GIT_ASSERT’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:42:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:32:27: note: in expansion of macro ‘GIT_ASSERT_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:3257:9: note: in expansion of macro ‘GIT_ASSERT’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c: scope_hint: In function ‘write_disk_entry’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:3084:9: note: in expansion of macro ‘git_vector_foreach’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:3084:9: note: in expansion of macro ‘git_vector_foreach’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:3084:9: note: in expansion of macro ‘git_vector_foreach’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c: scope_hint: In function ‘write_disk_entry’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/git2_util.h:138:10: note: in expansion of macro ‘git__add_sizet_overflow’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:2530:21: note: in expansion of macro ‘GIT_ADD_SIZET_OVERFLOW’ /usr/include/arpa/inet.h:22: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/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): [#def31] goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:3019:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘&ondisk_sha1’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:3254:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:3255:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:3255:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:52:23: note: in definition of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:32:27: note: in expansion of macro ‘GIT_ASSERT_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:3257:9: note: in expansion of macro ‘GIT_ASSERT’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:42:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:32:27: note: in expansion of macro ‘GIT_ASSERT_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:3257:9: note: in expansion of macro ‘GIT_ASSERT’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c: scope_hint: In function ‘write_disk_entry’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:3084:9: note: in expansion of macro ‘git_vector_foreach’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:3084:9: note: in expansion of macro ‘git_vector_foreach’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:3084:9: note: in expansion of macro ‘git_vector_foreach’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c: scope_hint: In function ‘write_disk_entry’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/git2_util.h:138:10: note: in expansion of macro ‘git__add_sizet_overflow’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/index.c:2530:21: note: in expansion of macro ‘GIT_ADD_SIZET_OVERFLOW’ # 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: COMPILER_WARNING (CWE-704): [#def32] goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/message.c: scope_hint: In function ‘git_message__prettify’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/message.c:39:30: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type # 37| # 38| for (i = 0; i < strlen(message); i += line_length) { # 39|-> next_newline = memchr(message + i, '\n', message_len - i); # 40| # 41| if (next_newline != NULL) { Error: GCC_ANALYZER_WARNING (CWE-476): [#def33] goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/pathspec.c: scope_hint: In function ‘pathspec_build_failure_array’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/pathspec.c:390:57: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/git2_util.h:105: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/common.h:10: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/pathspec.h:10: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/pathspec.c:8: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/pathspec.c:601:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/git2_util.h:167: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/pathspec.c:326:9: note: in expansion of macro ‘GIT_REFCOUNT_INC’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/pathspec.c: scope_hint: In function ‘pathspec_build_failure_array’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/pathspec.c:608:17: note: in expansion of macro ‘GIT_ERROR_CHECK_ALLOC’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/pathspec.h:14: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/pathspec.c: scope_hint: In function ‘pathspec_build_failure_array’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/pathspec.c:615:9: note: in expansion of macro ‘git_vector_foreach’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/bitvec.h:57:26: note: in expansion of macro ‘GIT_BITVEC_WORD’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/pathspec.h:16: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/pathspec.c: scope_hint: In function ‘pathspec_build_failure_array’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/pathspec.c:385:31: note: in expansion of macro ‘git_array_alloc’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/pathspec.c:385:31: note: in expansion of macro ‘git_array_alloc’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/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-457): [#def34] goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/submodule.c: scope_hint: In function ‘git_submodule_status’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/submodule.c:1805:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘sm’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/git2_util.h:105: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/common.h:10: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/submodule.h:10: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/submodule.c:8: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/submodule.c:1328:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/submodule.c:1333:9: note: in expansion of macro ‘GIT_ERROR_CHECK_VERSION’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/submodule.c:1333:9: note: in expansion of macro ‘GIT_ERROR_CHECK_VERSION’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/submodule.c:1333:9: note: in expansion of macro ‘GIT_ERROR_CHECK_VERSION’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/submodule.c:1333:9: note: in expansion of macro ‘GIT_ERROR_CHECK_VERSION’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/submodule.c:1798:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/submodule.c:1799:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/submodule.c:1799:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/submodule.c:1800:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/submodule.c:1800:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/submodule.c:301:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/submodule.c:302:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/submodule.c:302:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/submodule.c:1836:9: note: in expansion of macro ‘GIT_ERROR_CHECK_ALLOC’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/git2_util.h:167: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/submodule.c:1844:9: note: in expansion of macro ‘GIT_REFCOUNT_INC’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/submodule.c: scope_hint: In function ‘git_submodule_status’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/submodule.c:1681:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ /usr/include/features.h:540: included_from: Included from here. /usr/include/time.h:25: included_from: Included from here. goose-1.23.2/target/rpm/build/libgit2-sys-a612282c711e4ec5/out/include/git2/common.h:10: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/git2_util.h:14: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/submodule.c:1813:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/submodule.c:1814:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/submodule.c:1814:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/submodule.c:1681:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/submodule.c:1888:9: note: in expansion of macro ‘GIT_REFCOUNT_DEC’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/submodule.c: scope_hint: In function ‘git_submodule_status’ # 1803| return error; # 1804| # 1805|-> error = git_submodule__status(status, NULL, NULL, NULL, sm, ignore); # 1806| git_submodule_free(sm); # 1807| Error: GCC_ANALYZER_WARNING (CWE-476): [#def35] goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/trailer.c: scope_hint: In function ‘git_message_trailers’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/trailer.c:396:40: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘t’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/util.h:11: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/git2_util.h:167: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/array.h:10: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/trailer.c:7: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/trailer.c:326:37: note: in expansion of macro ‘git__isalnum’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/trailer.c:394:58: note: in expansion of macro ‘git_array_alloc’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/trailer.c:394:58: note: in expansion of macro ‘git_array_alloc’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/trailer.c:394:58: note: in expansion of macro ‘git_array_alloc’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/trailer.c:394:58: note: in expansion of macro ‘git_array_alloc’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/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): [#def36] goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/transaction.c: scope_hint: In function ‘dup_reflog’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/transaction.c:272:53: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/common.h:10: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/transaction.h:10: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/transaction.c:8: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/transaction.c:248:9: note: in expansion of macro ‘GIT_ERROR_CHECK_ALLOC’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/transaction.c:251:9: note: in expansion of macro ‘GIT_ERROR_CHECK_ALLOC’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/transaction.c:256:9: note: in expansion of macro ‘GIT_ERROR_CHECK_ALLOC’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/transaction.c:259:9: note: in expansion of macro ‘GIT_ERROR_CHECK_ALLOC’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/transaction.c:259:9: note: in expansion of macro ‘GIT_ERROR_CHECK_ALLOC’ # 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: COMPILER_WARNING (CWE-704): [#def37] goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/transports/git.c: scope_hint: In function ‘gen_proto’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/transports/git.c:46:15: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type # 44| size_t len; # 45| # 46|-> delim = strchr(url, '/'); # 47| if (delim == NULL) { # 48| git_error_set(GIT_ERROR_NET, "malformed URL"); Error: COMPILER_WARNING (CWE-704): [#def38] goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/transports/git.c:56:15: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type # 54| ++repo; # 55| # 56|-> delim = strchr(url, ':'); # 57| if (delim == NULL) # 58| delim = strchr(url, '/'); Error: COMPILER_WARNING (CWE-704): [#def39] goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/transports/git.c:58:23: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type # 56| delim = strchr(url, ':'); # 57| if (delim == NULL) # 58|-> delim = strchr(url, '/'); # 59| # 60| len = 4 + strlen(cmd) + 1 + strlen(repo) + 1 + strlen(host) + (delim - url) + 1; Error: GCC_ANALYZER_WARNING (CWE-476): [#def40] goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/transports/smart_protocol.c: scope_hint: In function ‘update_refs_from_report’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/transports/smart_protocol.c:1084:63: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/transports/smart.h:13: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/transports/smart_protocol.c:13: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/transports/smart_protocol.c:1079:9: note: in expansion of macro ‘git_vector_foreach’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/transports/smart_protocol.c:1079:9: note: in expansion of macro ‘git_vector_foreach’ # 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): [#def41] goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/transports/smart_protocol.c:1109:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/transports/smart_protocol.c: scope_hint: In function ‘update_refs_from_report’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/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): [#def42] goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/transports/smart_protocol.c:1115:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/transports/smart_protocol.c: scope_hint: In function ‘update_refs_from_report’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/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): [#def43] goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/transports/smart_protocol.c:1124:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/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): [#def44] goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/tree.c: scope_hint: In function ‘git_tree_create_updated’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/tree.c:1206:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/repository.h:19: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/tree.h:13: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/tree.c:8: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/tree.c:1166:21: note: in expansion of macro ‘git_array_alloc’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/tree.c:1166:21: note: in expansion of macro ‘git_array_alloc’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/tree.c:1166:21: note: in expansion of macro ‘git_array_alloc’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/tree.c:1166:21: note: in expansion of macro ‘git_array_alloc’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/common.h:10: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/tree.h:10: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/tree.c:1167:9: note: in expansion of macro ‘GIT_ERROR_CHECK_ALLOC’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/git2_util.h:105: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/tree.c:748:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/tree.c:749:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/tree.c:749:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/tree.c:752:9: note: in expansion of macro ‘GIT_ERROR_CHECK_ALLOC’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/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): [#def45] goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/tree.c:1212:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘last’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/tree.c:1166:21: note: in expansion of macro ‘git_array_alloc’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/tree.c:1166:21: note: in expansion of macro ‘git_array_alloc’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/tree.c:1166:21: note: in expansion of macro ‘git_array_alloc’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/tree.c:1166:21: note: in expansion of macro ‘git_array_alloc’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/tree.c:1167:9: note: in expansion of macro ‘GIT_ERROR_CHECK_ALLOC’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/tree.c:748:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/tree.c:749:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/tree.c:749:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/tree.c:752:9: note: in expansion of macro ‘GIT_ERROR_CHECK_ALLOC’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/tree.c: scope_hint: In function ‘git_tree_create_updated’ /usr/include/features.h:540: included_from: Included from here. /usr/include/time.h:25: included_from: Included from here. goose-1.23.2/target/rpm/build/libgit2-sys-a612282c711e4ec5/out/include/git2/common.h:10: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/git2_util.h:14: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/tree.c:1211:32: note: in expansion of macro ‘git_array_last’ # 1210| # 1211| last = git_array_last(stack); # 1212|-> entry = last->tree ? git_tree_entry_byname(last->tree, component.ptr) : NULL; # 1213| if (!entry) # 1214| entry = treebuilder_get(last->bld, component.ptr); Error: GCC_ANALYZER_WARNING (CWE-476): [#def46] goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/tree.c:1247:59: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘last’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/tree.c:1166:21: note: in expansion of macro ‘git_array_alloc’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/tree.c:1166:21: note: in expansion of macro ‘git_array_alloc’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/tree.c:1166:21: note: in expansion of macro ‘git_array_alloc’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/tree.c:1166:21: note: in expansion of macro ‘git_array_alloc’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/tree.c:1167:9: note: in expansion of macro ‘GIT_ERROR_CHECK_ALLOC’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/tree.c:748:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/tree.c:749:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/tree.c:749:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/tree.c:752:9: note: in expansion of macro ‘GIT_ERROR_CHECK_ALLOC’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/tree.c: scope_hint: In function ‘git_tree_create_updated’ # 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): [#def47] goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/tree.c:1266:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘last’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/tree.c:1166:21: note: in expansion of macro ‘git_array_alloc’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/tree.c:1166:21: note: in expansion of macro ‘git_array_alloc’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/tree.c:1166:21: note: in expansion of macro ‘git_array_alloc’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/tree.c:1166:21: note: in expansion of macro ‘git_array_alloc’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/tree.c:1167:9: note: in expansion of macro ‘GIT_ERROR_CHECK_ALLOC’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/tree.c:748:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/tree.c:749:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/tree.c:749:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/tree.c:752:9: note: in expansion of macro ‘GIT_ERROR_CHECK_ALLOC’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/tree.c: scope_hint: In function ‘git_tree_create_updated’ # 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-476): [#def48] goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/tree.c:1294:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘popped’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/tree.c:1166:21: note: in expansion of macro ‘git_array_alloc’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/tree.c:1166:21: note: in expansion of macro ‘git_array_alloc’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/tree.c:1166:21: note: in expansion of macro ‘git_array_alloc’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/tree.c:1166:21: note: in expansion of macro ‘git_array_alloc’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/tree.c:1167:9: note: in expansion of macro ‘GIT_ERROR_CHECK_ALLOC’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/tree.c:748:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/tree.c:749:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/tree.c:749:9: note: in expansion of macro ‘GIT_ASSERT_ARG’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/tree.c:752:9: note: in expansion of macro ‘GIT_ERROR_CHECK_ALLOC’ # 1292| # 1293| /* Write out the root tree */ # 1294|-> git__free(popped->name); # 1295| git_tree_free(popped->tree); # 1296| Error: GCC_ANALYZER_WARNING (CWE-404): [#def49] goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/str.c: scope_hint: In function ‘git_str_join_n’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/git2_util.h:146:61: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/str.c:695:17: note: in expansion of macro ‘GIT_ERROR_CHECK_ALLOC_ADD’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/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-787): [#def50] goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/str.c: scope_hint: In function ‘git_str_putc’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/str.c:180:29: warning[-Wanalyzer-out-of-bounds]: buffer overflow goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/str.h:10: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/str.c:8: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/git2_util.h:146:13: note: in expansion of macro ‘GIT_ADD_SIZET_OVERFLOW’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/str.c:177:9: note: in expansion of macro ‘GIT_ERROR_CHECK_ALLOC_ADD’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/str.c:178:9: note: in expansion of macro ‘ENSURE_SIZE’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/str.c:178:9: note: in expansion of macro ‘ENSURE_SIZE’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/str.c:180:29: note: write of 1 byte to beyond the end of ‘git_str__initstr’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/str.c:180:29: note: valid subscripts for ‘git_str__initstr’ are ‘[0]’ to ‘[0]’ # 178| ENSURE_SIZE(buf, new_size); # 179| buf->ptr[buf->size++] = c; # 180|-> buf->ptr[buf->size] = '\0'; # 181| return 0; # 182| } Error: GCC_ANALYZER_WARNING (CWE-476): [#def51] goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/str.h:129:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘buf’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/refs.c: scope_hint: In function ‘git_reference__normalize_name’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/git2_util.h:105: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:42:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:32:27: note: in expansion of macro ‘GIT_ASSERT_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/libgit2/refs.c:1331:9: note: in expansion of macro ‘GIT_ASSERT’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:49:9: note: in expansion of macro ‘GIT_ASSERT__WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/assert_safe.h:38:31: note: in expansion of macro ‘GIT_ASSERT_ARG_WITH_RETVAL’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/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): [#def52] goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/tsort.c: scope_hint: In function ‘merge’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/tsort.c:236:17: warning[-Wanalyzer-null-argument]: use of NULL ‘storage’ where non-null expected goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/tsort.c:360:9: note: in expansion of macro ‘PUSH_NEXT’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/tsort.c:361:9: note: in expansion of macro ‘PUSH_NEXT’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/tsort.c:361:9: note: in expansion of macro ‘PUSH_NEXT’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/tsort.c:361:9: note: in expansion of macro ‘PUSH_NEXT’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/tsort.c:361:9: note: in expansion of macro ‘PUSH_NEXT’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/git2_util.h:57: included_from: Included from here. goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/tsort.c:8: included_from: Included from here. /usr/include/string.h:47:14: note: argument 1 of ‘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: COMPILER_WARNING (CWE-704): [#def53] goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/unix/process.c: scope_hint: In function ‘is_delete_env’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/unix/process.c:45:19: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type # 43| GIT_INLINE(bool) is_delete_env(const char *env) # 44| { # 45|-> char *c = strchr(env, '='); # 46| # 47| if (c == NULL) Error: GCC_ANALYZER_WARNING: [#def54] goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/unix/process.c: scope_hint: In function ‘git_process_start’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/unix/process.c:309:25: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘-1’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/unix/process.c:305:17: note: in expansion of macro ‘CLOSE_FD’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/unix/process.c:168:13: note: in definition of macro ‘CLOSE_FD’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/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: [#def55] goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/unix/process.c:314:25: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘-1’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/unix/process.c:305:17: note: in expansion of macro ‘CLOSE_FD’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/unix/process.c:168:13: note: in definition of macro ‘CLOSE_FD’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/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: [#def56] goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/unix/process.c:319:25: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘-1’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/unix/process.c:305:17: note: in expansion of macro ‘CLOSE_FD’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/unix/process.c:168:13: note: in definition of macro ‘CLOSE_FD’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/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): [#def57] goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/unix/process.c:367:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘err[0]’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/unix/process.c:371:9: note: in expansion of macro ‘CLOSE_FD’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/unix/process.c:168:13: note: in definition of macro ‘CLOSE_FD’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/unix/process.c:372:9: note: in expansion of macro ‘CLOSE_FD’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/unix/process.c:168:13: note: in definition of macro ‘CLOSE_FD’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/unix/process.c:373:9: note: in expansion of macro ‘CLOSE_FD’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/unix/process.c:168:13: note: in definition of macro ‘CLOSE_FD’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/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): [#def58] goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/unix/process.c:367:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘err[1]’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/unix/process.c:371:9: note: in expansion of macro ‘CLOSE_FD’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/unix/process.c:168:13: note: in definition of macro ‘CLOSE_FD’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/unix/process.c:372:9: note: in expansion of macro ‘CLOSE_FD’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/unix/process.c:168:13: note: in definition of macro ‘CLOSE_FD’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/unix/process.c:373:9: note: in expansion of macro ‘CLOSE_FD’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/unix/process.c:168:13: note: in definition of macro ‘CLOSE_FD’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/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): [#def59] goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/unix/process.c:367:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘in[0]’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/unix/process.c:371:9: note: in expansion of macro ‘CLOSE_FD’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/unix/process.c:168:13: note: in definition of macro ‘CLOSE_FD’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/unix/process.c:372:9: note: in expansion of macro ‘CLOSE_FD’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/unix/process.c:168:13: note: in definition of macro ‘CLOSE_FD’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/unix/process.c:373:9: note: in expansion of macro ‘CLOSE_FD’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/unix/process.c:168:13: note: in definition of macro ‘CLOSE_FD’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/unix/process.c:374:9: note: in expansion of macro ‘CLOSE_FD’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/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): [#def60] goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/unix/process.c:367:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘in[1]’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/unix/process.c:371:9: note: in expansion of macro ‘CLOSE_FD’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/unix/process.c:168:13: note: in definition of macro ‘CLOSE_FD’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/unix/process.c:372:9: note: in expansion of macro ‘CLOSE_FD’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/unix/process.c:168:13: note: in definition of macro ‘CLOSE_FD’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/unix/process.c:373:9: note: in expansion of macro ‘CLOSE_FD’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/unix/process.c:168:13: note: in definition of macro ‘CLOSE_FD’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/unix/process.c:374:9: note: in expansion of macro ‘CLOSE_FD’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/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): [#def61] goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/unix/process.c:367:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out[0]’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/unix/process.c:371:9: note: in expansion of macro ‘CLOSE_FD’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/unix/process.c:168:13: note: in definition of macro ‘CLOSE_FD’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/unix/process.c:372:9: note: in expansion of macro ‘CLOSE_FD’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/unix/process.c:168:13: note: in definition of macro ‘CLOSE_FD’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/unix/process.c:373:9: note: in expansion of macro ‘CLOSE_FD’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/unix/process.c:168:13: note: in definition of macro ‘CLOSE_FD’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/unix/process.c:374:9: note: in expansion of macro ‘CLOSE_FD’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/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): [#def62] goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/unix/process.c:367:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘out[1]’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/unix/process.c:371:9: note: in expansion of macro ‘CLOSE_FD’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/unix/process.c:168:13: note: in definition of macro ‘CLOSE_FD’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/unix/process.c:372:9: note: in expansion of macro ‘CLOSE_FD’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/unix/process.c:168:13: note: in definition of macro ‘CLOSE_FD’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/unix/process.c:373:9: note: in expansion of macro ‘CLOSE_FD’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/unix/process.c:168:13: note: in definition of macro ‘CLOSE_FD’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/unix/process.c:374:9: note: in expansion of macro ‘CLOSE_FD’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/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): [#def63] goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/unix/process.c:367:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘status[0]’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/unix/process.c:371:9: note: in expansion of macro ‘CLOSE_FD’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/unix/process.c:168:13: note: in definition of macro ‘CLOSE_FD’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/unix/process.c:372:9: note: in expansion of macro ‘CLOSE_FD’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/unix/process.c:168:13: note: in definition of macro ‘CLOSE_FD’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/unix/process.c:373:9: note: in expansion of macro ‘CLOSE_FD’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/unix/process.c:168:13: note: in definition of macro ‘CLOSE_FD’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/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: COMPILER_WARNING (CWE-704): [#def64] goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/util.c: scope_hint: In function ‘git__linenlen’ goose-1.23.2/vendor/libgit2-sys-0.17.0+1.8.1/libgit2/src/util/util.c:326:20: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type # 324| size_t git__linenlen(const char *buffer, size_t buffer_len) # 325| { # 326|-> char *nl = memchr(buffer, '\n', buffer_len); # 327| return nl ? (size_t)(nl - buffer) + 1 : buffer_len; # 328| } Error: COMPILER_WARNING (CWE-704): [#def65] goose-1.23.2/vendor/libz-sys-1.1.23/src/smoke.c: scope_hint: In function ‘main’ goose-1.23.2/vendor/libz-sys-1.1.23/src/smoke.c:4:10: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size # 2| # 3| int main() { # 4|-> return (int) adler32; # 5| } Error: GCC_ANALYZER_WARNING (CWE-401): [#def66] goose-1.23.2/vendor/sys-info-0.9.1/c/linux.c: scope_hint: In function ‘seen_before’ goose-1.23.2/vendor/sys-info-0.9.1/c/linux.c:130:24: warning[-Wanalyzer-malloc-leak]: leak of ‘np’ # 128| for (hashval=0; *s != '\0'; s++) # 129| hashval = *s + 31 * hashval; # 130|-> return hashval % DFHASHSIZE; # 131| } # 132| Error: GCC_ANALYZER_WARNING (CWE-688): [#def67] goose-1.23.2/vendor/tree-sitter-kotlin-0.3.8/src/scanner.c: scope_hint: In function ‘tree_sitter_kotlin_external_scanner_deserialize’ goose-1.23.2/vendor/tree-sitter-kotlin-0.3.8/src/scanner.c:525:5: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected goose-1.23.2/vendor/tree-sitter-kotlin-0.3.8/src/scanner.c:1: included_from: Included from here. goose-1.23.2/vendor/tree-sitter-kotlin-0.3.8/src/scanner.c:524:5: note: in expansion of macro ‘array_reserve’ goose-1.23.2/vendor/tree-sitter-kotlin-0.3.8/src/tree_sitter/array.h: scope_hint: In function ‘tree_sitter_kotlin_external_scanner_deserialize’ goose-1.23.2/vendor/tree-sitter-kotlin-0.3.8/src/tree_sitter/array.h:8: included_from: Included from here. goose-1.23.2/vendor/tree-sitter-kotlin-0.3.8/src/tree_sitter/array.h:185:24: note: in expansion of macro ‘ts_realloc’ goose-1.23.2/vendor/tree-sitter-kotlin-0.3.8/src/tree_sitter/array.h:185:24: note: in expansion of macro ‘ts_realloc’ goose-1.23.2/vendor/tree-sitter-kotlin-0.3.8/src/scanner.c:524:5: note: in expansion of macro ‘array_reserve’ goose-1.23.2/vendor/tree-sitter-kotlin-0.3.8/src/scanner.c: scope_hint: In function ‘tree_sitter_kotlin_external_scanner_deserialize’ goose-1.23.2/vendor/tree-sitter-kotlin-0.3.8/src/tree_sitter/array.h:14: included_from: Included from here. /usr/include/string.h:47:14: note: argument 1 of ‘memcpy’ must be non-null # 523| if (length > 0) { # 524| array_reserve(stack, length); # 525|-> memcpy(stack->contents, buffer, length); # 526| stack->size = length; # 527| } else { Error: GCC_ANALYZER_WARNING (CWE-688): [#def68] goose-1.23.2/vendor/tree-sitter-kotlin-0.3.8/src/scanner.c:525:5: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘*(Stack *)payload.contents’ where non-null expected goose-1.23.2/vendor/tree-sitter-kotlin-0.3.8/src/scanner.c:524:5: note: in expansion of macro ‘array_reserve’ goose-1.23.2/vendor/tree-sitter-kotlin-0.3.8/src/tree_sitter/array.h: scope_hint: In function ‘tree_sitter_kotlin_external_scanner_deserialize’ goose-1.23.2/vendor/tree-sitter-kotlin-0.3.8/src/tree_sitter/array.h:187:24: note: in expansion of macro ‘ts_malloc’ goose-1.23.2/vendor/tree-sitter-kotlin-0.3.8/src/tree_sitter/array.h:187:24: note: in expansion of macro ‘ts_malloc’ goose-1.23.2/vendor/tree-sitter-kotlin-0.3.8/src/scanner.c:524:5: note: in expansion of macro ‘array_reserve’ goose-1.23.2/vendor/tree-sitter-kotlin-0.3.8/src/scanner.c: scope_hint: In function ‘tree_sitter_kotlin_external_scanner_deserialize’ /usr/include/string.h:47:14: note: argument 1 of ‘memcpy’ must be non-null # 523| if (length > 0) { # 524| array_reserve(stack, length); # 525|-> memcpy(stack->contents, buffer, length); # 526| stack->size = length; # 527| } else { Error: GCC_ANALYZER_WARNING (CWE-688): [#def69] goose-1.23.2/vendor/tree-sitter-python-0.21.0/src/scanner.c:405:13: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘*(Scanner *)payload.delimiters.contents’ where non-null expected goose-1.23.2/vendor/tree-sitter-python-0.21.0/src/scanner.c:393:5: note: in expansion of macro ‘array_delete’ goose-1.23.2/vendor/tree-sitter-python-0.21.0/src/scanner.c:393:5: note: in expansion of macro ‘array_delete’ goose-1.23.2/vendor/tree-sitter-python-0.21.0/src/scanner.c:403:13: note: in expansion of macro ‘array_reserve’ goose-1.23.2/vendor/tree-sitter-python-0.21.0/src/scanner.c:403:13: note: in expansion of macro ‘array_reserve’ goose-1.23.2/vendor/tree-sitter-python-0.21.0/src/tree_sitter/array.h: scope_hint: In function ‘tree_sitter_python_external_scanner_deserialize’ goose-1.23.2/vendor/tree-sitter-python-0.21.0/src/tree_sitter/array.h:184:24: note: in expansion of macro ‘ts_malloc’ goose-1.23.2/vendor/tree-sitter-python-0.21.0/src/tree_sitter/array.h:184:24: note: in expansion of macro ‘ts_malloc’ goose-1.23.2/vendor/tree-sitter-python-0.21.0/src/scanner.c:403:13: note: in expansion of macro ‘array_reserve’ goose-1.23.2/vendor/tree-sitter-python-0.21.0/src/scanner.c: scope_hint: In function ‘tree_sitter_python_external_scanner_deserialize’ /usr/include/string.h:47:14: note: argument 1 of ‘memcpy’ must be non-null # 403| array_reserve(&scanner->delimiters, delimiter_count); # 404| scanner->delimiters.size = delimiter_count; # 405|-> memcpy(scanner->delimiters.contents, &buffer[size], delimiter_count); # 406| size += delimiter_count; # 407| } Error: GCC_ANALYZER_WARNING (CWE-476): [#def70] goose-1.23.2/vendor/tree-sitter-python-0.21.0/src/scanner.c: scope_hint: In function ‘tree_sitter_python_external_scanner_deserialize’ goose-1.23.2/vendor/tree-sitter-python-0.21.0/src/tree_sitter/array.h:64:37: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*(Scanner *)payload.indents.contents + (long unsigned int)*(Scanner *)payload.indents.size * 2’ goose-1.23.2/vendor/tree-sitter-python-0.21.0/src/scanner.c:394:5: note: in expansion of macro ‘array_push’ goose-1.23.2/vendor/tree-sitter-python-0.21.0/src/scanner.c:392:5: note: in expansion of macro ‘array_delete’ goose-1.23.2/vendor/tree-sitter-python-0.21.0/src/scanner.c:392:5: note: in expansion of macro ‘array_delete’ goose-1.23.2/vendor/tree-sitter-python-0.21.0/src/scanner.c:393:5: note: in expansion of macro ‘array_delete’ goose-1.23.2/vendor/tree-sitter-python-0.21.0/src/tree_sitter/array.h:161:5: note: in expansion of macro ‘ts_free’ goose-1.23.2/vendor/tree-sitter-python-0.21.0/src/scanner.c:393:5: note: in expansion of macro ‘array_delete’ goose-1.23.2/vendor/tree-sitter-python-0.21.0/src/scanner.c:394:5: note: in expansion of macro ‘array_push’ goose-1.23.2/vendor/tree-sitter-python-0.21.0/src/tree_sitter/array.h: scope_hint: In function ‘tree_sitter_python_external_scanner_deserialize’ goose-1.23.2/vendor/tree-sitter-python-0.21.0/src/tree_sitter/array.h:184:24: note: in expansion of macro ‘ts_malloc’ goose-1.23.2/vendor/tree-sitter-python-0.21.0/src/tree_sitter/array.h:184:24: note: in expansion of macro ‘ts_malloc’ goose-1.23.2/vendor/tree-sitter-python-0.21.0/src/scanner.c: scope_hint: In function ‘tree_sitter_python_external_scanner_deserialize’ goose-1.23.2/vendor/tree-sitter-python-0.21.0/src/scanner.c:394:5: note: in expansion of macro ‘array_push’ goose-1.23.2/vendor/tree-sitter-python-0.21.0/src/scanner.c:394:5: note: in expansion of macro ‘array_push’ # 62| #define array_push(self, element) \ # 63| (_array__grow((Array *)(self), 1, array_elem_size(self)), \ # 64|-> (self)->contents[(self)->size++] = (element)) # 65| # 66| /// Increase the array's size by `count` elements. Error: COMPILER_WARNING (CWE-563): [#def71] goose-1.23.2/vendor/tree-sitter-python-0.21.0/src/scanner.c:1: included_from: Included from here. goose-1.23.2/vendor/tree-sitter-python-0.21.0/src/scanner.c: scope_hint: In function ‘tree_sitter_python_external_scanner_scan’ goose-1.23.2/vendor/tree-sitter-python-0.21.0/src/tree_sitter/array.h:103:42: warning[-Wunused-value]: value computed is not used # 103 | #define array_pop(self) ((self)->contents[--(self)->size]) # | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ goose-1.23.2/vendor/tree-sitter-python-0.21.0/src/scanner.c:178:33: note: in expansion of macro ‘array_pop’ # 178 | array_pop(&scanner->delimiters); # | ^~~~~~~~~ # 101| # 102| /// Pop the last element off the array, returning the element by value. # 103|-> #define array_pop(self) ((self)->contents[--(self)->size]) # 104| # 105| /// Assign the contents of one array to another, reallocating if necessary. Error: GCC_ANALYZER_WARNING (CWE-688): [#def72] goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/scanner.c:154:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘heredoc.word.contents’ where non-null expected goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/scanner.c:87:5: note: in expansion of macro ‘array_delete’ goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/scanner.c:87:5: note: in expansion of macro ‘array_delete’ goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/scanner.c:153:9: note: in expansion of macro ‘array_reserve’ goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/tree_sitter/array.h: scope_hint: In function ‘deserialize’ goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/tree_sitter/array.h:187:24: note: in expansion of macro ‘ts_malloc’ goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/tree_sitter/array.h:187:24: note: in expansion of macro ‘ts_malloc’ goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/scanner.c:153:9: note: in expansion of macro ‘array_reserve’ goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/scanner.c: scope_hint: In function ‘deserialize’ goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/tree_sitter/array.h:14: included_from: Included from here. /usr/include/string.h:47:14: note: argument 1 of ‘memcpy’ must be non-null # 152| uint8_t word_length = buffer[size++]; # 153| array_reserve(&heredoc.word, word_length); # 154|-> memcpy(heredoc.word.contents, &buffer[size], word_length); # 155| heredoc.word.size = word_length; # 156| size += word_length; Error: GCC_ANALYZER_WARNING (CWE-401): [#def73] goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/scanner.c:161:1: warning[-Wanalyzer-malloc-leak]: leak of ‘heredoc.word.contents’ goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/scanner.c:83:5: note: in expansion of macro ‘array_delete’ goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/tree_sitter/array.h:164:5: note: in expansion of macro ‘ts_free’ goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/scanner.c:83:5: note: in expansion of macro ‘array_delete’ goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/scanner.c:87:5: note: in expansion of macro ‘array_delete’ goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/scanner.c:87:5: note: in expansion of macro ‘array_delete’ goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/scanner.c:153:9: note: in expansion of macro ‘array_reserve’ goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/tree_sitter/array.h: scope_hint: In function ‘deserialize’ goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/tree_sitter/array.h:187:24: note: in expansion of macro ‘ts_malloc’ goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/tree_sitter/array.h:187:24: note: in expansion of macro ‘ts_malloc’ goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/scanner.c:153:9: note: in expansion of macro ‘array_reserve’ goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/scanner.c: scope_hint: In function ‘deserialize’ # 159| # 160| assert(size == length); # 161|-> } # 162| # 163| static inline bool scan_whitespace(Scanner *scanner, TSLexer *lexer, const bool *valid_symbols) { Error: GCC_ANALYZER_WARNING (CWE-476): [#def74] goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/scanner.c:2: included_from: Included from here. goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/scanner.c: scope_hint: In function ‘deserialize’ goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/tree_sitter/array.h:64:37: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*scanner.literal_stack.contents + (long unsigned int)*scanner.literal_stack.size * 20’ goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/scanner.c:141:9: note: in expansion of macro ‘array_push’ goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/scanner.c:83:5: note: in expansion of macro ‘array_delete’ goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/scanner.c:1: included_from: Included from here. goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/tree_sitter/array.h:164:5: note: in expansion of macro ‘ts_free’ goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/scanner.c:83:5: note: in expansion of macro ‘array_delete’ goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/scanner.c:87:5: note: in expansion of macro ‘array_delete’ goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/scanner.c:87:5: note: in expansion of macro ‘array_delete’ goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/scanner.c:141:9: note: in expansion of macro ‘array_push’ goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/tree_sitter/array.h: scope_hint: In function ‘deserialize’ goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/tree_sitter/array.h:187:24: note: in expansion of macro ‘ts_malloc’ goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/tree_sitter/array.h:187:24: note: in expansion of macro ‘ts_malloc’ goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/scanner.c: scope_hint: In function ‘deserialize’ goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/scanner.c:141:9: note: in expansion of macro ‘array_push’ goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/scanner.c:141:9: note: in expansion of macro ‘array_push’ # 62| #define array_push(self, element) \ # 63| (_array__grow((Array *)(self), 1, array_elem_size(self)), \ # 64|-> (self)->contents[(self)->size++] = (element)) # 65| # 66| /// Increase the array's size by `count` elements. Error: GCC_ANALYZER_WARNING (CWE-476): [#def75] goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/tree_sitter/array.h:64:37: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*scanner.open_heredocs.contents + (long unsigned int)*scanner.open_heredocs.size * 24’ goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/scanner.c:157:9: note: in expansion of macro ‘array_push’ goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/scanner.c:83:5: note: in expansion of macro ‘array_delete’ goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/tree_sitter/array.h:164:5: note: in expansion of macro ‘ts_free’ goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/scanner.c:83:5: note: in expansion of macro ‘array_delete’ goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/scanner.c:87:5: note: in expansion of macro ‘array_delete’ goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/tree_sitter/array.h:164:5: note: in expansion of macro ‘ts_free’ goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/scanner.c:87:5: note: in expansion of macro ‘array_delete’ goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/scanner.c:153:9: note: in expansion of macro ‘array_reserve’ goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/tree_sitter/array.h: scope_hint: In function ‘deserialize’ goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/tree_sitter/array.h:187:24: note: in expansion of macro ‘ts_malloc’ goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/scanner.c:153:9: note: in expansion of macro ‘array_reserve’ goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/scanner.c: scope_hint: In function ‘deserialize’ goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/scanner.c:157:9: note: in expansion of macro ‘array_push’ goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/tree_sitter/array.h: scope_hint: In function ‘deserialize’ goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/tree_sitter/array.h:187:24: note: in expansion of macro ‘ts_malloc’ goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/tree_sitter/array.h:187:24: note: in expansion of macro ‘ts_malloc’ goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/scanner.c: scope_hint: In function ‘deserialize’ goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/scanner.c:157:9: note: in expansion of macro ‘array_push’ goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/scanner.c:157:9: note: in expansion of macro ‘array_push’ # 62| #define array_push(self, element) \ # 63| (_array__grow((Array *)(self), 1, array_elem_size(self)), \ # 64|-> (self)->contents[(self)->size++] = (element)) # 65| # 66| /// Increase the array's size by `count` elements. Error: GCC_ANALYZER_WARNING (CWE-476): [#def76] goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/scanner.c: scope_hint: In function ‘scan_heredoc_word’ goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/tree_sitter/array.h:64:37: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘word.contents’ goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/scanner.c:608:17: note: in expansion of macro ‘array_push’ goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/scanner.c: scope_hint: In function ‘scan_heredoc_word’ goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/scanner.c: scope_hint: In function ‘scan_heredoc_word’ goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/scanner.c:608:17: note: in expansion of macro ‘array_push’ goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/scanner.c:608:17: note: in expansion of macro ‘array_push’ goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/tree_sitter/array.h: scope_hint: In function ‘scan_heredoc_word’ goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/tree_sitter/array.h:187:24: note: in expansion of macro ‘ts_malloc’ goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/tree_sitter/array.h:187:24: note: in expansion of macro ‘ts_malloc’ goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/scanner.c: scope_hint: In function ‘scan_heredoc_word’ goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/scanner.c:608:17: note: in expansion of macro ‘array_push’ goose-1.23.2/vendor/tree-sitter-ruby-0.21.0/src/scanner.c:608:17: note: in expansion of macro ‘array_push’ # 62| #define array_push(self, element) \ # 63| (_array__grow((Array *)(self), 1, array_elem_size(self)), \ # 64|-> (self)->contents[(self)->size++] = (element)) # 65| # 66| /// Increase the array's size by `count` elements.
| analyzer-version-clippy | 1.95.0 |
| analyzer-version-cppcheck | 2.20.0 |
| analyzer-version-gcc | 16.1.1 |
| analyzer-version-gcc-analyzer | 16.1.1 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| diffbase-analyzer-version-clippy | 1.95.0 |
| diffbase-analyzer-version-cppcheck | 2.20.0 |
| diffbase-analyzer-version-gcc | 16.1.1 |
| diffbase-analyzer-version-gcc-analyzer | 16.1.1 |
| diffbase-analyzer-version-shellcheck | 0.11.0 |
| diffbase-analyzer-version-unicontrol | 0.0.2 |
| diffbase-enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| diffbase-exit-code | 0 |
| diffbase-host | ip-172-16-1-232.us-west-2.compute.internal |
| diffbase-known-false-positives | /usr/share/csmock/known-false-positives.js |
| diffbase-known-false-positives-rpm | known-false-positives-0.0.0.20260524.213755.g3c6d0be.main-1.el9.noarch |
| diffbase-mock-config | fedora-rawhide-x86_64 |
| diffbase-project-name | goose-1.35.0-1.20260527110730443224.pr27 |
| diffbase-store-results-to | /tmp/tmpma1kulbn/goose-1.35.0-1.20260527110730443224.pr27.tar.xz |
| diffbase-time-created | 2026-05-27 13:45:44 |
| diffbase-time-finished | 2026-05-27 14:40:20 |
| diffbase-tool | csmock |
| diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'shellcheck,cppcheck,clippy,unicontrol,gcc' '-o' '/tmp/tmpma1kulbn/goose-1.35.0-1.20260527110730443224.pr27.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpma1kulbn/goose-1.35.0-1.20260527110730443224.pr27.src.rpm' |
| diffbase-tool-version | csmock-3.8.5-1.el9 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-232.us-west-2.compute.internal |
| known-false-positives | /usr/share/csmock/known-false-positives.js |
| known-false-positives-rpm | known-false-positives-0.0.0.20260524.213755.g3c6d0be.main-1.el9.noarch |
| mock-config | fedora-rawhide-x86_64 |
| project-name | goose-1.23.2-1.20260521165302153583.main |
| store-results-to | /tmp/tmp5u84kpsj/goose-1.23.2-1.20260521165302153583.main.tar.xz |
| time-created | 2026-05-27 12:43:20 |
| time-finished | 2026-05-27 13:40:42 |
| title | Fixed findings |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'shellcheck,cppcheck,clippy,unicontrol,gcc' '-o' '/tmp/tmp5u84kpsj/goose-1.23.2-1.20260521165302153583.main.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmp5u84kpsj/goose-1.23.2-1.20260521165302153583.main.src.rpm' |
| tool-version | csmock-3.8.5-1.el9 |