commit 7a793324a13a776e0a36d3c17378f21b7454eb83 from: Omar Polo date: Mon Feb 13 10:42:38 2023 UTC fixed un-initialized object id commit - 5d0f2ba80279891be77a35cead25d7c7862d67a6 commit + 7a793324a13a776e0a36d3c17378f21b7454eb83 blob - 5ad6e2fe0b60ca410804681d2b5ea45fdb93c4d2 blob + 04473b541e33620420895132147a6f096cead1d2 --- lib/repository.c +++ lib/repository.c @@ -2332,6 +2332,8 @@ got_repo_get_loose_object_info(int *nobjects, off_t *o goto done; } + memset(&id, 0, sizeof(id)); + id.algo = repo->algo; if (!got_parse_hash_digest(id.hash, id_str, repo->algo)) { free(id_str);