summaryrefslogtreecommitdiff
path: root/t/t5530-upload-pack-error.sh
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2016-07-13 17:44:02 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-07-13 09:15:08 -0700
commitda49a7da3ad5e31fa858a6d48d8a6af9c4690724 (patch)
treefbdf2983e7c31fff8a024b04d887e71b3519da79 /t/t5530-upload-pack-error.sh
parentindex-pack: report correct bad object offsets even if they are large (diff)
downloadtgif-da49a7da3ad5e31fa858a6d48d8a6af9c4690724.tar.xz
index-pack: correct "offset" type in unpack_entry_data()
unpack_entry_data() receives an off_t value from unpack_raw_entry(), which could be larger than unsigned long on 32-bit systems with large file support. Correct the type so truncation does not happen. This only affects bad object reporting though. 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 't/t5530-upload-pack-error.sh')
0 files changed, 0 insertions, 0 deletions