commit f4a2ff2d5ad89a6875828e130932e110d45ba9d6 from: Stefan Sperling date: Thu Jul 01 14:10:33 2021 UTC fix out-of-bounds access in 'gotadmin pack'; wrong array pointer in read_meta() commit - 2c41dce749de6cee00ec5b611d0509f9e45f0fd7 commit + f4a2ff2d5ad89a6875828e130932e110d45ba9d6 blob - b850ce5f22966a3ccbc122c9b002eaad1de24ce6 blob + 5613eb657783b5cccea0bc9778d303db8478e70e --- lib/pack_create.c +++ lib/pack_create.c @@ -863,7 +863,7 @@ read_meta(struct got_pack_meta ***meta, int *nmeta, } for (i = 0; i < ntheirs; i++) { - struct got_object_id *id = ours[i]; + struct got_object_id *id = theirs[i]; if (id == NULL) continue; err = got_object_get_type(&obj_type, repo, id);