aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/commit-tree.c
diff options
context:
space:
mode:
authorTaylor Blau <me@ttaylorr.com>2023-07-12 19:38:08 -0400
committerJunio C Hamano <gitster@pobox.com>2023-07-14 09:32:03 -0700
commit51c31a6408c1eae3ad6c2f78ec136c1b415cad72 (patch)
treefca1d8bca330e3322aa2ed18728222ae2c77f447 /builtin/commit-tree.c
parentcommit-graph.c: prevent overflow in `fill_commit_in_graph()` (diff)
downloadgit-51c31a6408c1eae3ad6c2f78ec136c1b415cad72.tar.gz
git-51c31a6408c1eae3ad6c2f78ec136c1b415cad72.zip
commit-graph.c: prevent overflow in `load_tree_for_commit()`
In a similar spirit as previous commits, ensure that we don't overflow when computing an offset into the commit_data chunk when the (relative) graph position exceeds 2^32-1/GRAPH_DATA_WIDTH. Signed-off-by: Taylor Blau <me@ttaylorr.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit-tree.c')
0 files changed, 0 insertions, 0 deletions