diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2016-07-13 17:44:02 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-07-13 09:15:08 -0700 |
commit | da49a7da3ad5e31fa858a6d48d8a6af9c4690724 (patch) | |
tree | fbdf2983e7c31fff8a024b04d887e71b3519da79 /t/t7408-submodule-reference.sh | |
parent | index-pack: report correct bad object offsets even if they are large (diff) | |
download | tgif-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/t7408-submodule-reference.sh')
0 files changed, 0 insertions, 0 deletions