summaryrefslogtreecommitdiff
path: root/builtin/pack-refs.c
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2016-07-13 17:44:00 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-07-13 09:14:38 -0700
commit7171a0b0cf5792fd549b601c84b274cd5e4155ed (patch)
tree3a0061b7c9ee43c643b6a5e789c43e43876cb958 /builtin/pack-refs.c
parentsha1_file.c: use type off_t* for object_info->disk_sizep (diff)
downloadtgif-7171a0b0cf5792fd549b601c84b274cd5e4155ed.tar.xz
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>
Diffstat (limited to 'builtin/pack-refs.c')
0 files changed, 0 insertions, 0 deletions