summaryrefslogtreecommitdiff
path: root/Documentation/git-update-server-info.txt
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2015-09-24 17:06:03 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-09-25 10:18:18 -0700
commit04724222d5aad4da48674e69aab715273f05dded (patch)
treecd8923223008e3c6a652d5b6f8bb393fef7956ce /Documentation/git-update-server-info.txt
parentprogress: store throughput display in a strbuf (diff)
downloadtgif-04724222d5aad4da48674e69aab715273f05dded.tar.xz
test-dump-cache-tree: avoid overflow of cache-tree name
When dumping a cache-tree, we sprintf sub-tree names directly into a fixed-size buffer, which can overflow. We can trivially fix this by converting to xsnprintf to at least notice and die. This probably should handle arbitrary-sized names, but there's not much point. It's used only by the test scripts, so the trivial fix is enough. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-update-server-info.txt')
0 files changed, 0 insertions, 0 deletions