]> git.ipfire.org Git - thirdparty/git.git/commit - diff-delta.c
diff-delta: do not allow delta offset truncation
authorMartin Koegler <martin.koegler@chello.at>
Thu, 10 Aug 2017 18:13:09 +0000 (20:13 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 11 Aug 2017 22:25:40 +0000 (15:25 -0700)
commitfed1ef9550d528dffa8891e8b2f49b486c7985bc
tree26ad49a73baf47b9ef13f55980a6c9303e7d9904
parent4274c698f46a9bc45834c4904e7e113450c042fb
diff-delta: do not allow delta offset truncation

Prevent generating delta offsets beyond 4G, as the xdelta used in
the pack format cannot represent such large offset.

Signed-off-by: Martin Koegler <martin.koegler@chello.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
diff-delta.c