Merge branch 'jv/merge-nothing-into-void' into maint
[gitweb.git] / builtin / index-pack.c
index a5588a24d1c528d5b4e69aece48ead4aee9e3355..2d1eb8bb8a433e6bda50e93e3001ae6d43db093f 100644 (file)
@@ -1514,6 +1514,7 @@ static void read_v2_anomalous_offsets(struct packed_git *p,
                if (!(off & 0x80000000))
                        continue;
                off = off & 0x7fffffff;
+               check_pack_index_ptr(p, &idx2[off * 2]);
                if (idx2[off * 2])
                        continue;
                /*