summaryrefslogtreecommitdiff
path: root/t/t4034/cpp/pre
diff options
context:
space:
mode:
authorLibravatar Rafael Gieschke <rafael@gieschke.de>2011-05-16 22:08:21 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-05-17 21:27:19 -0700
commitc0336ff27a9a4bf9db87d65c5dec1ebf7dd9f8c6 (patch)
tree0a446ec6aa5b2e2f2a701c178ac6b3210c3311ae /t/t4034/cpp/pre
parentfast-import: introduce "feature notes" command (diff)
downloadtgif-c0336ff27a9a4bf9db87d65c5dec1ebf7dd9f8c6.tar.xz
copy_gecos: fix not adding nlen to len when processing "&"
nlen has to be added to len when inserting (capitalized) pw_name as substitution for "&" in pw_gecos. Otherwise, pw_gecos will be truncated and data might be written beyond name+sz. Signed-off-by: Rafael Gieschke <rafael@gieschke.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4034/cpp/pre')
0 files changed, 0 insertions, 0 deletions