diff options
author | Junio C Hamano <gitster@pobox.com> | 2016-08-08 14:21:36 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-08-08 14:21:36 -0700 |
commit | aa9136a87e3ce299fe966da4686a571d6a528311 (patch) | |
tree | 2e9ffe0f8191779bcf30a7d30269eeba80926173 /sha1_name.c | |
parent | Merge branch 'rs/notes-merge-no-toctou' into maint (diff) | |
parent | fsck: use streaming interface for large blobs in pack (diff) | |
download | tgif-aa9136a87e3ce299fe966da4686a571d6a528311.tar.xz |
Merge branch 'nd/pack-ofs-4gb-limit' into maint
"git pack-objects" and "git index-pack" mostly operate with off_t
when talking about the offset of objects in a packfile, but there
were a handful of places that used "unsigned long" to hold that
value, leading to an unintended truncation.
* nd/pack-ofs-4gb-limit:
fsck: use streaming interface for large blobs in pack
pack-objects: do not truncate result in-pack object size on 32-bit systems
index-pack: correct "offset" type in unpack_entry_data()
index-pack: report correct bad object offsets even if they are large
index-pack: correct "len" type in unpack_data()
sha1_file.c: use type off_t* for object_info->disk_sizep
pack-objects: pass length to check_pack_crc() without truncation
Diffstat (limited to 'sha1_name.c')
0 files changed, 0 insertions, 0 deletions