summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 547e8b9)
raw | patch | inline | side by side (parent: 547e8b9)
author | Rafael Gieschke <rafael@gieschke.de> | |
Mon, 16 May 2011 20:08:21 +0000 (22:08 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 18 May 2011 04:27:19 +0000 (21:27 -0700) |
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>
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>
ident.c | patch | blob | history |