projects
/
git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
worktree: add: introduce --checkout option
[git]
/
builtin
/
index-pack.c
diff --git
a/builtin/index-pack.c
b/builtin/index-pack.c
index
193908a
..
4524519
100644
(file)
--- a/
builtin/index-pack.c
+++ b/
builtin/index-pack.c
@@
-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;
/*