Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2018-05-19 04:56:37 +0300
committerJunio C Hamano <gitster@pobox.com>2018-05-21 03:54:30 +0300
commit390c6cbc5e643b6d89869b319b51b5b62a3f5a09 (patch)
tree76314ecfefce389a63c4950b731d4ada8325d28f /log-tree.c
parent468165c1d8a442994a825f3684528361727cd8c0 (diff)
http: use strbufs instead of fixed buffers
We keep the names of incoming packs and objects in fixed PATH_MAX-size buffers, and snprintf() into them. This is unlikely to end up with truncated filenames, but it is possible (especially on systems where PATH_MAX is shorter than actual paths can be). Let's switch to using strbufs, which makes the question go away entirely. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'log-tree.c')
0 files changed, 0 insertions, 0 deletions