summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorRené Scharfe <l.s.r@web.de>2021-12-18 10:47:03 +0100
committerJunio C Hamano <gitster@pobox.com>2021-12-20 12:43:18 -0800
commit999bba3e0bbb2e81a3e1b2bdb5846479d1e663ad (patch)
treef360d95ec3c0fae8e109cf892a228938989f4e7c /commit.c
parente9d7761bb94f20acc98824275e317fa82436c25d (diff)
daemon: plug memory leak on overlong path
Release the strbuf containing the interpolated path after copying it to a stack buffer and before erroring out if it's too long. Signed-off-by: René Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions