summaryrefslogtreecommitdiff
path: root/compat/inet_pton.c
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2021-12-18 10:47:03 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-12-20 12:43:18 -0800
commit999bba3e0bbb2e81a3e1b2bdb5846479d1e663ad (patch)
treef360d95ec3c0fae8e109cf892a228938989f4e7c /compat/inet_pton.c
parentGit 2.34.1 (diff)
downloadtgif-999bba3e0bbb2e81a3e1b2bdb5846479d1e663ad.tar.xz
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 'compat/inet_pton.c')
0 files changed, 0 insertions, 0 deletions