Re: [PATCH] sha1_to_hex: properly terminate the SHA1

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Junio C Hamano
Date: Thursday, December 22, 2005 - 1:51 pm

Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:


Good catch, thanks.  The worst one is:

diff.c:727:		memcpy(one_sha1, sha1_to_hex(one->sha1), 41);


-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] sha1_to_hex: properly terminate the SHA1, Johannes Schindelin, (Thu Dec 22, 10:55 am)
Re: [PATCH] sha1_to_hex: properly terminate the SHA1, Junio C Hamano, (Thu Dec 22, 1:51 pm)