diff options
| author | Taylor Blau <me@ttaylorr.com> | 2023-07-12 19:38:13 -0400 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2023-07-14 09:32:03 -0700 |
| commit | d76e0a744d3a8c1713f0e913325cab7da92f01ef (patch) | |
| tree | a8bc9e3f992a67b8fc27a33399edc07c1900b9b5 /t/t4002-diff-basic.sh | |
| parent | 19565d093d248ba4c2330d96314a547feed41112 (diff) | |
| download | git-d76e0a744d3a8c1713f0e913325cab7da92f01ef.tar.xz | |
commit-graph.c: prevent overflow in `merge_commit_graph()`
When merging two commit graphs, ensure that we don't attempt to merge
two graphs which, when combined, have more total commits than the 32-bit
unsigned maximum.
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4002-diff-basic.sh')
0 files changed, 0 insertions, 0 deletions
