summaryrefslogtreecommitdiff
path: root/graph.h
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2016-02-08 22:21:55 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-02-08 22:42:32 (GMT)
commit7b11a18a2ee04380c1c698635f1ef2c4eb3324fb (patch)
tree01dec3bb08d3a5117c1a8fdae17642f9690eb403 /graph.h
parente01c6b15c97e30baedc45021e6dcbd90140616cd (diff)
downloadgit-7b11a18a2ee04380c1c698635f1ef2c4eb3324fb.zip
git-7b11a18a2ee04380c1c698635f1ef2c4eb3324fb.tar.gz
git-7b11a18a2ee04380c1c698635f1ef2c4eb3324fb.tar.bz2
test-path-utils: use xsnprintf in favor of strcpy
This strcpy will never overflow because it's copying from baked-in test data. But we would prefer to avoid strcpy entirely, as it makes it harder to audit for real security bugs. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'graph.h')
0 files changed, 0 insertions, 0 deletions