]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'jk/chunk-bounds'
authorJunio C Hamano <gitster@pobox.com>
Mon, 23 Oct 2023 20:56:36 +0000 (13:56 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 23 Oct 2023 20:56:36 +0000 (13:56 -0700)
commitf32af12ceec1c19d8a8a7874523d3a7ceef6eebf
tree9078d206b9956c89334901fd04f8a884f01379d6
parentceadf0f3cf51550166a387ec8508bb55e7883057
parent7538f9d89b001be33a1b682b5cf207c4ba8fd8c5
Merge branch 'jk/chunk-bounds'

The codepaths that read "chunk" formatted files have been corrected
to pay attention to the chunk size and notice broken files.

* jk/chunk-bounds: (21 commits)
  t5319: make corrupted large-offset test more robust
  chunk-format: drop pair_chunk_unsafe()
  commit-graph: detect out-of-order BIDX offsets
  commit-graph: check bounds when accessing BIDX chunk
  commit-graph: check bounds when accessing BDAT chunk
  commit-graph: bounds-check generation overflow chunk
  commit-graph: check size of generations chunk
  commit-graph: bounds-check base graphs chunk
  commit-graph: detect out-of-bounds extra-edges pointers
  commit-graph: check size of commit data chunk
  midx: check size of revindex chunk
  midx: bounds-check large offset chunk
  midx: check size of object offset chunk
  midx: enforce chunk alignment on reading
  midx: check size of pack names chunk
  commit-graph: check consistency of fanout table
  midx: check size of oid lookup chunk
  commit-graph: check size of oid fanout chunk
  midx: stop ignoring malformed oid fanout chunk
  t: add library for munging chunk-format files
  ...
commit-graph.c
pack-revindex.c
t/t5324-split-commit-graph.sh
t/t5328-commit-graph-64bit-time.sh