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>2015-09-25 00:07:52 +0300
committerJunio C Hamano <gitster@pobox.com>2015-10-05 21:08:05 +0300
commit43bb66ae0b2f1e379b73e3f0f697ca0d93e2a57b (patch)
tree086b2475b91e4ce03ccdc5885bb602f729f724e3 /fetch-pack.c
parentd4b3d11a03c5733a37656ca2f23171be6efad7d3 (diff)
diagnose_invalid_index_path: use strbuf to avoid strcpy/strcat
We dynamically allocate a buffer and then strcpy and strcat into it. This isn't buggy, but we'd prefer to avoid these suspicious functions. This would be a good candidate for converstion to xstrfmt, but we need to record the length for dealing with index entries. A strbuf handles that for us. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'fetch-pack.c')
0 files changed, 0 insertions, 0 deletions