author | René Scharfe <rene.scharfe@lsrfire.ath.cx> | |
Thu, 20 Dec 2007 12:20:15 +0000 (13:20 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 27 Dec 2007 01:52:32 +0000 (17:52 -0800) | ||
commit | 7ed0988adc0a3cb3f103c105af387e3ac48eea61 | |
tree | f917862a230f7c19a470e6988e332129f3bd0fcd | tree | snapshot |
parent | cc216827936e40bc2e8886623fd44f55e0674932 | commit | diff |
Make "--pretty=format" parser a bit more careful.
When a commit message that does not have a terminating LF is
read in and the memory that was allocated to read it happens to
have a LF immediately after that, the code was not careful and
went past the terminating NUL.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
When a commit message that does not have a terminating LF is
read in and the memory that was allocated to read it happens to
have a LF immediately after that, the code was not careful and
went past the terminating NUL.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
pretty.c | diff | blob | history |