aboutsummaryrefslogtreecommitdiffstats
path: root/diff.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 /diff.c
parentDownmerge a handful of topics for 2.38.2 (diff)
downloadgit-4654134976fd4d80ea664c159f798f21c7917d8c.tar.gz
git-4654134976fd4d80ea664c159f798f21c7917d8c.zip
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 'diff.c')
0 files changed, 0 insertions, 0 deletions