summaryrefslogtreecommitdiff
path: root/builtin-commit-tree.c
diff options
context:
space:
mode:
authorLibravatar Johannes Sixt <johannes.sixt@telecom.at>2008-09-22 13:03:25 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-09-22 09:35:58 -0700
commit79bbc7fb078f8cabe04020c4619be9b571371398 (patch)
treebacda71c02d7e42cc96d2a3f1704b988f9cbaef7 /builtin-commit-tree.c
parentStart draft release notes for 1.6.0.3 (diff)
downloadtgif-79bbc7fb078f8cabe04020c4619be9b571371398.tar.xz
git-remote: do not use user input in a printf format string
'git remote show' substituted the remote name into a string that was later used as a printf format string. If a remote name contains a printf format specifier like this: $ git remote add foo%sbar . then the command $ git remote show foo%sbar would print garbage (if you are lucky) or crash. This fixes it. Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-commit-tree.c')
0 files changed, 0 insertions, 0 deletions