diff options
author | René Scharfe <l.s.r@web.de> | 2024-04-16 22:16:05 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-04-16 22:38:35 +0200 |
commit | 20fee9af9e511a9086aa02992bd27035b914ee14 (patch) | |
tree | 0eff543690e73a8c01534ac4bebc13b0d0d2e820 /git-web--browse.sh | |
parent | The ninteenth batch (diff) | |
download | git-20fee9af9e511a9086aa02992bd27035b914ee14.tar.xz git-20fee9af9e511a9086aa02992bd27035b914ee14.zip |
apply: avoid using fixed-size buffer in write_out_one_reject()
On some systems PATH_MAX is not a hard limit. Support longer paths by
building them on the heap instead of using static buffers.
Take care to work around (arguably buggy) implementations of free(3)
that change errno by calling it only after using the errno value.
Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-web--browse.sh')
0 files changed, 0 insertions, 0 deletions