index-pack: correct "len" type in unpack_data()
commit7171a0b0cf5792fd549b601c84b274cd5e4155ed
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Wed, 13 Jul 2016 15:44:00 +0000 (13 17:44 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 13 Jul 2016 16:14:38 +0000 (13 09:14 -0700)
tree3a0061b7c9ee43c643b6a5e789c43e43876cb958
parent166df26f2821ea23b7c269a32fd63be43a2a0bb9
index-pack: correct "len" type in unpack_data()

On 32-bit systems with large file support, one entry could be larger
than 4GB and overflow "len". Correct it so we can unpack a full entry.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/index-pack.c