author | Henrik Grubbström <grubba@grubba.org> | |
Tue, 6 Apr 2010 12:46:37 +0000 (14:46 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 11 Apr 2010 04:45:00 +0000 (21:45 -0700) | ||
commit | a9f3049f6c152d4e6c26b15f7eeb08660aaadca3 | |
tree | 483205ed0d4068abeb176ff04591ac263b52f44b | tree | snapshot |
parent | b9aa901856cee7ad16737343f6a372bb37871258 | commit | diff |
convert: Safer handling of $Id$ contraction.
The code to contract $Id:xxxxx$ strings could eat an arbitrary amount
of source text if the terminating $ was lost. It now refuses to
contract $Id:xxxxx$ strings spanning multiple lines.
Signed-off-by: Henrik Grubbström <grubba@grubba.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The code to contract $Id:xxxxx$ strings could eat an arbitrary amount
of source text if the terminating $ was lost. It now refuses to
contract $Id:xxxxx$ strings spanning multiple lines.
Signed-off-by: Henrik Grubbström <grubba@grubba.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
convert.c | diff | blob | history | |
t/t0021-conversion.sh | diff | blob | history |