summaryrefslogtreecommitdiff
path: root/commit-graph.c
diff options
context:
space:
mode:
authorJonathan Tan <jonathantanmy@google.com>2022-10-25 16:29:34 -0700
committerJunio C Hamano <gitster@pobox.com>2022-10-25 17:14:40 -0700
commit4654134976fd4d80ea664c159f798f21c7917d8c (patch)
treea30ae251be8a8291989791ce4e985e9652e8b1f4 /commit-graph.c
parent7d8dc5a1af9da32ac7454499f308db757eb19642 (diff)
negotiator/skipping: avoid stack overflow
mark_common() in negotiator/skipping.c may overflow the stack due to recursive function calls. Avoid this by instead recursing using a heap-allocated data structure. Signed-off-by: Jonathan Tan <jonathantanmy@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-graph.c')
0 files changed, 0 insertions, 0 deletions