diff options
author | René Scharfe <l.s.r@web.de> | 2021-12-18 10:47:03 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-12-20 12:43:18 -0800 |
commit | 999bba3e0bbb2e81a3e1b2bdb5846479d1e663ad (patch) | |
tree | f360d95ec3c0fae8e109cf892a228938989f4e7c /t/t4018/golang-func | |
parent | Git 2.34.1 (diff) | |
download | tgif-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 't/t4018/golang-func')
0 files changed, 0 insertions, 0 deletions